diff --git a/macbuild/ReadMe.md b/macbuild/ReadMe.md index 8d86c7245..2e7516f12 100644 --- a/macbuild/ReadMe.md +++ b/macbuild/ReadMe.md @@ -1,15 +1,16 @@ -Relevant KLayout version: 0.29.4
+Relevant KLayout version: 0.29.7
Author: Kazzz-S
-Last modified: 2024-07-10
+Last modified: 2024-09-23
# 1. Introduction -This directory **`macbuild`** contains various files required for building KLayout (http://www.klayout.de/) version 0.29.0 or later for different 64-bit macOS, including: -* Monterey (12.x) : the primary development environment +This directory **`macbuild`** contains various files required for building KLayout (http://www.klayout.de/) version 0.29.7 or later for different 64-bit macOS, including: +* Sonoma (14.x) : the primary development environment * Ventura (13.x) : experimental -* Sonoma (14.x) : -- ditto -- +* Sequoia (15.x) : -- ditto -- Building KLayout for the previous operating systems listed below has been discontinued.
-Pre-built DMG packages are also not provided. +Pre-built DMG packages are also not provided.
+* Monterey (12.7.6; the build is still possible, but Homebrew stopped supporting this OS in September 2024) * Big Sur (11.7.10) * Catalina (10.15.7) * Mojave (10.14) @@ -17,8 +18,9 @@ Pre-built DMG packages are also not provided. * Sierra (10.12) * El Capitan (10.11) -Throughout this document, the primary target machine is **Intel x86_64** with **macOS Monterey**.
+Throughout this document, the primary target machine is **Intel x86_64** with **macOS Sonoma**.
All Apple (M1|M2|M3) chips are still untested, as the author does not own an (M1|M2|M3) Mac.
+However, some kind volunteers told me they successfully built on an Apple silicon machine.
# 2. Qt Frameworks @@ -41,8 +43,9 @@ If you have installed Anaconda3 under $HOME/opt/anaconda3/, make a symbolic link /Applications/anaconda3/ ---> $HOME/opt/anaconda3/ ``` -The migration work to "Qt6" is ongoing. You can try to use it; however, you will encounter some build and runtime errors.
-If you use **Homebrew** to build KLayout >= 0.29.0, you need "Qt6" to address [the compilation issue](https://github.com/KLayout/klayout/issues/1599). +The migration work to "Qt6" is ongoing. You can try to use it; however, you might encounter some build and runtime errors.
+If you use **Homebrew** to build KLayout >= 0.29.0, you need "Qt6" to address [the compilation issue](https://github.com/KLayout/klayout/issues/1599).
+I have also tried migrating to "Python 3.12.x" (earlier, Python 3.11.x) in this version. # 3. Script language support: Ruby and Python @@ -65,62 +68,62 @@ You need to have the followings: The operating system type is detected automatically. ``` ---------------------------------------------------------------------------------------------------------- +----------------------------------------------------------------------------------------------------------- << Usage of 'build4mac.py' >> - for building KLayout 0.29.0 or later on different Apple macOS platforms. + for building KLayout 0.29.7 or later on different Apple macOS platforms. $ [python] ./build4mac.py - option & argument : descriptions (refer to 'macbuild/build4mac_env.py' for details)| default value - --------------------------------------------------------------------------------------+--------------- - [-q|--qt ] : case-insensitive type=['Qt5MacPorts', 'Qt5Brew', 'Qt5Ana3', | qt5macports - : 'Qt6MacPorts', 'Qt6Brew'] | - : Qt5MacPorts: use Qt5 from MacPorts | - : Qt5Brew: use Qt5 from Homebrew | - : Qt5Ana3: use Qt5 from Anaconda3 | - : Qt6MacPorts: use Qt6 from MacPorts (*) | - : Qt6Brew: use Qt6 from Homebrew (*) | - : (*) migration to Qt6 is ongoing | - [-r|--ruby ] : case-insensitive type=['nil', 'Sys', 'MP33', 'HB33', 'Ana3'] | sys - : nil: don't bind Ruby | - : Sys: use [Sonoma|Ventura|Monterey]-bundled Ruby 2.6 | - : MP33: use Ruby 3.3 from MacPorts | - : HB33: use Ruby 3.3 from Homebrew | - : Ana3: use Ruby 3.2 from Anaconda3 | - [-p|--python ] : case-insensitive type=['nil', 'Sys', 'MP311', 'HB311', 'Ana3', | sys - : 'MP39', 'HB39', 'HBAuto'] | - : nil: don't bind Python | - : Sys: use [Sonoma|Ventura|Monterey]-bundled Python 3.9 | - : MP311: use Python 3.11 from MacPorts | - : HB311: use Python 3.11 from Homebrew | - : Ana3: use Python 3.11 from Anaconda3 | - : MP39: use Python 3.9 from MacPorts (+) | - : HB39: use Python 3.9 from Homebrew (+) | - : (+) for the backward compatibility tests | - : HBAuto: use the latest Python 3.x auto-detected from Homebrew | - [-P|--buildPymod] : build and deploy Pymod (*.whl) for LW-*.dmg | disabled - [-n|--noqtbinding] : don't create Qt bindings for ruby scripts | disabled - [-u|--noqtuitools] : don't include uitools in Qt binding | disabled - [-g|--nolibgit2] : don't include libgit2 for Git package support | disabled - [-m|--make