diff --git a/macbuild/ReadMe.md b/macbuild/ReadMe.md index 2e7516f12..9fea55364 100644 --- a/macbuild/ReadMe.md +++ b/macbuild/ReadMe.md @@ -1,9 +1,9 @@ -Relevant KLayout version: 0.29.7
+Relevant KLayout version: 0.29.11
Author: Kazzz-S
-Last modified: 2024-09-23
+Last modified: 2025-01-19
# 1. Introduction -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: +This directory **`macbuild`** contains various files required for building KLayout (http://www.klayout.de/) version 0.29.11 or later for different 64-bit macOS, including: * Sonoma (14.x) : the primary development environment * Ventura (13.x) : experimental * Sequoia (15.x) : -- ditto -- @@ -19,7 +19,7 @@ Pre-built DMG packages are also not provided.
* El Capitan (10.11) 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.
+All Apple (M1|M2|M3|M4) chips are still untested, as the author does not own an (M1|M2|M3|M4) Mac.
However, some kind volunteers told me they successfully built on an Apple silicon machine.
# 2. Qt Frameworks @@ -70,7 +70,7 @@ The operating system type is detected automatically. ``` ----------------------------------------------------------------------------------------------------------- << Usage of 'build4mac.py' >> - for building KLayout 0.29.7 or later on different Apple macOS platforms. + for building KLayout 0.29.11 or later on different Apple macOS platforms. $ [python] ./build4mac.py option & argument : descriptions (refer to 'macbuild/build4mac_env.py' for details) | default value @@ -83,11 +83,11 @@ $ [python] ./build4mac.py : 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 + [-r|--ruby ] : case-insensitive type=['nil', 'Sys', 'MP33', 'HB34', 'Ana3'] | sys : nil: don't bind Ruby | : Sys: use [Sequoia|Sonoma|Ventura|Monterey]-bundled Ruby 2.6 | : MP33: use Ruby 3.3 from MacPorts | - : HB33: use Ruby 3.3 from Homebrew | + : HB34: use Ruby 3.4 from Homebrew | : Ana3: use Ruby 3.2 from Anaconda3 | [-p|--python ] : case-insensitive type=['nil', 'Sys', 'MP312', 'HB312', 'Ana3', | sys : 'MP311', 'HB311', 'HBAuto'] | @@ -195,10 +195,10 @@ $ ./build4mac.py -q qt5macports -r mp33 -p mp312 -Y > [!IMPORTANT] > To build KLayout >= 0.29.0, you need "Qt6" >= 6.7.0 to address [the compilation issue](https://github.com/KLayout/klayout/issues/1599).
-0. Install Homebrew, then install Qt6, Ruby 3.3, Python 3.12, and libgit2 by +0. Install Homebrew, then install Qt6, Ruby 3.4, Python 3.12, and libgit2 by ``` $ brew install qt@6 -$ brew install ruby@3.3 +$ brew install ruby@3.4 $ brew install python@3.12 $ brew install libgit2 $ cd /where/'build.sh'/exists @@ -208,20 +208,20 @@ $ ./python3HB.py -v 3.12 1. Invoke **`build4mac.py`** with the following options: ``` $ cd /where/'build.sh'/exists -$ ./build4mac.py -q qt6brew -r hb33 -p hb312 +$ ./build4mac.py -q qt6brew -r hb34 -p hb312 ``` 2. Confirm successful build (it will take about one hour, depending on your machine spec). 3. Rerun **`build4mac.py`** with the same options used in 1. PLUS "-Y" to deploy executables and libraries under **`klayout.app`** bundle.
The buddy command-line tools (strm*) will also be deployed under **klayout.app/Contents/Buddy/** in this step.
``` -$ ./build4mac.py -q qt6brew -r hb33 -p hb312 -Y +$ ./build4mac.py -q qt6brew -r hb34 -p hb312 -Y ``` The application bundle **`klayout.app`** is located under:
- **`LW-qt6Brew.pkg.macos-Sonoma-release-Rhb33Phb312`** directory, where + **`LW-qt6Brew.pkg.macos-Sonoma-release-Rhb34Phb312`** directory, where * "LW-" means this is a lightweight package. * "qt6Brew" means that Qt6 from Homebrew is used. -* "Rhb33Phb312" means that Ruby is 3.3 from Homebrew; Python is 3.12 from Homebrew. +* "Rhb34Phb312" means that Ruby is 3.4 from Homebrew; Python is 3.12 from Homebrew. 4. Copy/move the generated application bundle **`klayout.app`** to your **`/Applications`** directory for installation. > [!WARNING] @@ -397,8 +397,8 @@ $ cd /where/'build.sh'/exists $ ./makeDMG4mac.py -p LW-qt5MP.pkg.macos-Sonoma-release-Rmp33Pmp312 -m ``` This command will generate the two files below:
-* **`LW-klayout-0.29.7-macOS-Sonoma-1-qt5MP-Rmp33Pmp312.dmg`** ---(1) the main DMG file -* **`LW-klayout-0.29.7-macOS-Sonoma-1-qt5MP-Rmp33Pmp312.dmg.md5`** ---(2) MD5-value text file +* **`LW-klayout-0.29.11-macOS-Sonoma-1-qt5MP-Rmp33Pmp312.dmg`** ---(1) the main DMG file +* **`LW-klayout-0.29.11-macOS-Sonoma-1-qt5MP-Rmp33Pmp312.dmg.md5`** ---(2) MD5-value text file # Known issues Because we assume some specific versions of non-OS-standard Ruby and Python, updating Homebrew, MacPorts, or Anaconda3 may cause build- and link errors.
diff --git a/macbuild/Resources/script-bundle-B.zip b/macbuild/Resources/script-bundle-B.zip index 15db23403..e48f71440 100644 Binary files a/macbuild/Resources/script-bundle-B.zip and b/macbuild/Resources/script-bundle-B.zip differ diff --git a/macbuild/build4mac.py b/macbuild/build4mac.py index ca279c34f..e5db7b1e6 100755 --- a/macbuild/build4mac.py +++ b/macbuild/build4mac.py @@ -5,7 +5,7 @@ # File: "macbuild/build4mac.py" # # The top Python script for building KLayout (http://www.klayout.de/index.php) -# version 0.29.7 or later on different Apple Mac OSX platforms. +# version 0.29.11 or later on different Apple Mac OSX platforms. #=============================================================================== import sys import os @@ -45,7 +45,7 @@ def GenerateUsage(platform): usage = "\n" usage += "-----------------------------------------------------------------------------------------------------------\n" usage += "<< Usage of 'build4mac.py' >>\n" - usage += " for building KLayout 0.29.7 or later on different Apple macOS platforms.\n" + usage += " for building KLayout 0.29.11 or later on different Apple macOS platforms.\n" usage += "\n" usage += "$ [python] ./build4mac.py\n" usage += " option & argument : descriptions (refer to 'macbuild/build4mac_env.py' for details) | default value\n" @@ -58,11 +58,11 @@ def GenerateUsage(platform): usage += " : Qt6MacPorts: use Qt6 from MacPorts (*) |\n" usage += " : Qt6Brew: use Qt6 from Homebrew (*) |\n" usage += " : (*) migration to Qt6 is ongoing |\n" - usage += " [-r|--ruby ] : case-insensitive type=['nil', 'Sys', 'MP33', 'HB33', 'Ana3'] | %s\n" % myRuby + usage += " [-r|--ruby ] : case-insensitive type=['nil', 'Sys', 'MP33', 'HB34', 'Ana3'] | %s\n" % myRuby usage += " : nil: don't bind Ruby |\n" usage += " : Sys: use [Sequoia|Sonoma|Ventura|Monterey]-bundled Ruby 2.6 |\n" usage += " : MP33: use Ruby 3.3 from MacPorts |\n" - usage += " : HB33: use Ruby 3.3 from Homebrew |\n" + usage += " : HB34: use Ruby 3.4 from Homebrew |\n" usage += " : Ana3: use Ruby 3.2 from Anaconda3 |\n" usage += " [-p|--python ] : case-insensitive type=['nil', 'Sys', 'MP312', 'HB312', 'Ana3', | %s\n" % myPython usage += " : 'MP311', 'HB311', 'HBAuto'] |\n" @@ -271,7 +271,7 @@ def Parse_CLI_Args(config): p.add_option( '-r', '--ruby', dest='type_ruby', - help="Ruby type=['nil', 'Sys', 'MP33', 'HB33', 'Ana3']" ) + help="Ruby type=['nil', 'Sys', 'MP33', 'HB34', 'Ana3']" ) p.add_option( '-p', '--python', dest='type_python', @@ -405,7 +405,7 @@ def Parse_CLI_Args(config): candidates['NIL'] = 'nil' candidates['SYS'] = 'Sys' candidates['MP33'] = 'MP33' - candidates['HB33'] = 'HB33' + candidates['HB34'] = 'HB34' candidates['ANA3'] = 'Ana3' try: choiceRuby = candidates[ opt.type_ruby.upper() ] @@ -428,8 +428,8 @@ def Parse_CLI_Args(config): elif choiceRuby == "MP33": ModuleRuby = 'Ruby33MacPorts' NonOSStdLang = True - elif choiceRuby == "HB33": - ModuleRuby = 'Ruby33Brew' + elif choiceRuby == "HB34": + ModuleRuby = 'Ruby34Brew' NonOSStdLang = True elif choiceRuby == "Ana3": ModuleRuby = 'RubyAnaconda3' @@ -730,7 +730,7 @@ def Get_Build_Parameters(config): # will be built if: # BuildPymodWhl = True # Platform = [ 'Sequoia', 'Sonoma', 'Ventura', 'Monterey'] - # ModuleRuby = [ 'Ruby33MacPorts', 'Ruby33Brew', 'RubyAnaconda3' ] + # ModuleRuby = [ 'Ruby33MacPorts', 'Ruby34Brew', 'RubyAnaconda3' ] # ModulePython = [ 'Python312MacPorts', 'Python311MacPorts', # 'Python311Brew', # 'PythonAnaconda3' ] @@ -741,7 +741,7 @@ def Get_Build_Parameters(config): PymodDistDir = dict() if Platform in [ 'Sequoia', 'Sonoma', 'Ventura', 'Monterey' ]: - if ModuleRuby in [ 'Ruby33MacPorts', 'Ruby33Brew', 'RubyAnaconda3' ]: + if ModuleRuby in [ 'Ruby33MacPorts', 'Ruby34Brew', 'RubyAnaconda3' ]: if ModulePython in [ 'Python312MacPorts', 'Python311MacPorts' ]: PymodDistDir[ModulePython] = 'dist-MP3-%s' % ModuleQt elif ModulePython in [ 'Python311Brew' ]: @@ -764,7 +764,7 @@ def Build_pymod_wheel(parameters): # [1] will be built if: # BuildPymodWhl = True # Platform = [ 'Sequoia', 'Sonoma', 'Ventura', 'Monterey'] - # ModuleRuby = [ 'Ruby33MacPorts', 'Ruby33Brew', 'RubyAnaconda3' ] + # ModuleRuby = [ 'Ruby33MacPorts', 'Ruby34Brew', 'RubyAnaconda3' ] # ModulePython = [ 'Python312MacPorts', 'Python311MacPorts', # 'Python311Brew', # 'PythonAnaconda3' ] @@ -777,7 +777,7 @@ def Build_pymod_wheel(parameters): return 0 if not Platform in [ 'Sequoia', 'Sonoma', 'Ventura', 'Monterey' ]: return 0 - elif not ModuleRuby in [ 'Ruby33MacPorts', 'Ruby33Brew', 'RubyAnaconda3' ]: + elif not ModuleRuby in [ 'Ruby33MacPorts', 'Ruby34Brew', 'RubyAnaconda3' ]: return 0 elif not ModulePython in [ 'Python312MacPorts', 'Python311MacPorts', \ 'Python311Brew', \ @@ -2158,11 +2158,11 @@ def Deploy_Binaries_For_Bundle(config, parameters): #------------------------------------------------------------- # [10] Special deployment of Ruby3.3 from Homebrew? #------------------------------------------------------------- - deploymentRuby33HB = (ModuleRuby == 'Ruby33Brew') + deploymentRuby33HB = (ModuleRuby == 'Ruby34Brew') if deploymentRuby33HB and NonOSStdLang: print( "" ) - print( " [10] You have reached optional deployment of Ruby from %s ..." % HBRuby33Path ) + print( " [10] You have reached optional deployment of Ruby from %s ..." % HBRuby34Path ) print( " [!!!] Sorry, the deployed package will not work properly since deployment of" ) print( " Ruby3.3 from Homebrew is not yet supported." ) print( " Since you have Homebrew development environment, there two options:" ) diff --git a/macbuild/build4mac_env.py b/macbuild/build4mac_env.py index dba18baaf..c1084a66b 100755 --- a/macbuild/build4mac_env.py +++ b/macbuild/build4mac_env.py @@ -6,7 +6,7 @@ # # Here are dictionaries of ... # different modules for building KLayout (http://www.klayout.de/index.php) -# version 0.29.7 or later on different Apple Mac OSX platforms. +# version 0.29.11 or later on different Apple Mac OSX platforms. # # This file is imported by 'build4mac.py' script. #=============================================================================== @@ -130,7 +130,7 @@ Qt56Dictionary = { 'Qt5MacPorts': Qt5MacPorts, #----------------------------------------------------- RubyNil = [ 'nil' ] RubySys = [ 'RubyMonterey', 'RubyVentura', 'RubySonoma', 'RubySequoia' ] -RubyExt = [ 'Ruby33MacPorts', 'Ruby33Brew', 'RubyAnaconda3' ] +RubyExt = [ 'Ruby33MacPorts', 'Ruby34Brew', 'RubyAnaconda3' ] Rubies = RubyNil + RubySys + RubyExt #----------------------------------------------------- @@ -196,13 +196,13 @@ Ruby33MacPorts = { 'exe': '/opt/local/bin/ruby3.3', 'lib': '/opt/local/lib/libruby.3.3.dylib' } -# Ruby 3.3 from Homebrew -# install with 'brew install ruby@3.3' -# [Key Type Name] = 'HB33' -HBRuby33Path = '%s/opt/ruby@3.3' % DefaultHomebrewRoot -Ruby33Brew = { 'exe': '%s/bin/ruby' % HBRuby33Path, - 'inc': '%s/include/ruby-3.3.0' % HBRuby33Path, - 'lib': '%s/lib/libruby.3.3.dylib' % HBRuby33Path +# Ruby 3.4 from Homebrew +# install with 'brew install ruby@3.4' +# [Key Type Name] = 'HB34' +HBRuby34Path = '%s/opt/ruby@3.4' % DefaultHomebrewRoot +Ruby34Brew = { 'exe': '%s/bin/ruby' % HBRuby34Path, + 'inc': '%s/include/ruby-3.4.0' % HBRuby34Path, + 'lib': '%s/lib/libruby.3.4.dylib' % HBRuby34Path } # Ruby 3.2 bundled with anaconda3 installed under /Applications/anaconda3/ @@ -221,7 +221,7 @@ RubyDictionary = { 'nil' : None, 'RubySonoma' : RubySonoma, 'RubySequoia' : RubySequoia, 'Ruby33MacPorts': Ruby33MacPorts, - 'Ruby33Brew' : Ruby33Brew, + 'Ruby34Brew' : Ruby34Brew, 'RubyAnaconda3' : RubyAnaconda3 } diff --git a/macbuild/makeDMG4mac.py b/macbuild/makeDMG4mac.py index 1e0b23d07..972a36374 100755 --- a/macbuild/makeDMG4mac.py +++ b/macbuild/makeDMG4mac.py @@ -78,7 +78,7 @@ def SetGlobals(): Usage = "\n" Usage += "---------------------------------------------------------------------------------------------------------\n" Usage += "<< Usage of 'makeDMG4mac.py' >>\n" - Usage += " for making a DMG file of KLayout 0.29.7 or later on different Apple macOS platforms.\n" + Usage += " for making a DMG file of KLayout 0.29.11 or later on different Apple macOS platforms.\n" Usage += "\n" Usage += "$ [python] ./makeDMG4mac.py\n" Usage += " option & argument : descriptions | default value\n" @@ -220,7 +220,7 @@ def SetGlobals(): # The package directory name should look like: # * ST-qt5MP.pkg.macos-Sonoma-release-RsysPsys # * LW-qt5Ana3.pkg.macos-Sonoma-release-Rana3Pana3 -# * LW-qt6Brew.pkg.macos-Sonoma-release-Rhb33Phb312 --- (1) +# * LW-qt6Brew.pkg.macos-Sonoma-release-Rhb34Phb312 --- (1) # * LW-qt5MP.pkg.macos-Sonoma-release-Rmp33Pmp312 # * HW-qt6Brew.pkg.macos-Sonoma-release-RsysPhb311 # @@ -228,7 +228,7 @@ def SetGlobals(): # * LW-qt6MP.pkg.macos-Sonoma-release-Rmp33Pmp312 # # Generated DMG will be, for example, -# (1) ---> LW-klayout-0.29.7-macOS-Sonoma-1-qt6Brew-Rhb33Phb312.dmg +# (1) ---> LW-klayout-0.29.7-macOS-Sonoma-1-qt6Brew-Rhb34Phb312.dmg # # @return on success, positive integer in [MB] that tells approx. occupied disc space; # on failure, -1 @@ -270,10 +270,10 @@ def CheckPkgDirectory(): # [2] Identify (Qt, Ruby, Python) from PkgDir # * ST-qt5MP.pkg.macos-Sonoma-release-RsysPsys # * LW-qt5Ana3.pkg.macos-Sonoma-release-Rana3Pana3 - # * LW-qt6Brew.pkg.macos-Sonoma-release-Rhb33Phb312 + # * LW-qt6Brew.pkg.macos-Sonoma-release-Rhb34Phb312 # * LW-qt5MP.pkg.macos-Sonoma-release-Rmp33Pmp312 # * HW-qt6Brew.pkg.macos-Sonoma-release-RsysPhb311 - # * EX-qt5MP.pkg.macos-Sonoma-release-Rhb33Pmp312 + # * EX-qt5MP.pkg.macos-Sonoma-release-Rhb34Pmp312 # # * ST-qt6MP.pkg.macos-Sonoma-release-RsysPsys # * LW-qt6MP.pkg.macos-Sonoma-release-Rmp33Pmp312 @@ -324,7 +324,7 @@ def CheckPkgDirectory(): LatestOSHomebrew = Platform == LatestOS LatestOSHomebrew &= PackagePrefix == "LW" LatestOSHomebrew &= QtIdentification in [ "qt5Brew", "qt6Brew", "qt5MP", "qt6MP" ] # "qt[5|6]MP" are the alternatives - LatestOSHomebrew &= RubyPythonID in [ "Rhb33Phb312", "Rhb33Phb311", "Rhb33Phbauto" ] + LatestOSHomebrew &= RubyPythonID in [ "Rhb34Phb312", "Rhb34Phb311", "Rhb34Phbauto" ] LatestOSAnaconda3 = Platform == LatestOS LatestOSAnaconda3 &= PackagePrefix == "LW" diff --git a/macbuild/nightlyBuild.py b/macbuild/nightlyBuild.py index c55a297e2..0cd27822a 100755 --- a/macbuild/nightlyBuild.py +++ b/macbuild/nightlyBuild.py @@ -106,10 +106,10 @@ def Get_Build_Options( targetDic, platform ): buildOp[(qtVer, "ports", "d")] = [ '-q', '%sMacPorts' % qtType, '-r', 'MP33', '-p', 'MP312', '--debug' ] logfile[(qtVer, "ports", "d")] = "%sMP.build.macos-%s-%s-%s.log" % (qtType.lower(), platform, "debug", "Rmp33Pmp312") elif target == "brew": - buildOp[(qtVer, "brew", "r")] = [ '-q', '%sBrew' % qtType, '-r', 'HB33', '-p', 'HB312' ] - logfile[(qtVer, "brew", "r")] = "%sBrew.build.macos-%s-%s-%s.log" % (qtType.lower(), platform, "release", "Rhb33Phb312") - buildOp[(qtVer, "brew", "d")] = [ '-q', '%sBrew' % qtType, '-r', 'HB33', '-p', 'HB312', '--debug' ] - logfile[(qtVer, "brew", "d")] = "%sBrew.build.macos-%s-%s-%s.log" % (qtType.lower(), platform, "debug", "Rhb33Phb312") + buildOp[(qtVer, "brew", "r")] = [ '-q', '%sBrew' % qtType, '-r', 'HB34', '-p', 'HB312' ] + logfile[(qtVer, "brew", "r")] = "%sBrew.build.macos-%s-%s-%s.log" % (qtType.lower(), platform, "release", "Rhb34Phb312") + buildOp[(qtVer, "brew", "d")] = [ '-q', '%sBrew' % qtType, '-r', 'HB34', '-p', 'HB312', '--debug' ] + logfile[(qtVer, "brew", "d")] = "%sBrew.build.macos-%s-%s-%s.log" % (qtType.lower(), platform, "debug", "Rhb34Phb312") elif target == "brewHW": buildOp[(qtVer, "brewHW", "r")] = [ '-q', '%sBrew' % qtType, '-r', 'sys', '-p', 'HB311' ] logfile[(qtVer, "brewHW", "r")] = "%sBrew.build.macos-%s-%s-%s.log" % (qtType.lower(), platform, "release", "RsysPhb311") @@ -121,20 +121,20 @@ def Get_Build_Options( targetDic, platform ): buildOp[(qtVer, "ana3", "d")] = [ '-q', '%sAna3' % qtType, '-r', 'Ana3', '-p', 'Ana3', '--debug' ] logfile[(qtVer, "ana3", "d")] = "%sAna3.build.macos-%s-%s-%s.log" % (qtType.lower(), platform, "debug", "Rana3Pana3") elif target == "brewA": - buildOp[(qtVer, "brewA", "r")] = [ '-q', '%sBrew' % qtType, '-r', 'HB33', '-p', 'HBAuto' ] - logfile[(qtVer, "brewA", "r")] = "%sBrew.build.macos-%s-%s-%s.log" % (qtType.lower(), platform, "release", "Rhb33Phbauto") - buildOp[(qtVer, "brewA", "d")] = [ '-q', '%sBrew' % qtType, '-r', 'HB33', '-p', 'HBAuto', '--debug' ] - logfile[(qtVer, "brewA", "d")] = "%sBrew.build.macos-%s-%s-%s.log" % (qtType.lower(), platform, "debug", "Rhb33Phbauto") + buildOp[(qtVer, "brewA", "r")] = [ '-q', '%sBrew' % qtType, '-r', 'HB34', '-p', 'HBAuto' ] + logfile[(qtVer, "brewA", "r")] = "%sBrew.build.macos-%s-%s-%s.log" % (qtType.lower(), platform, "release", "Rhb34Phbauto") + buildOp[(qtVer, "brewA", "d")] = [ '-q', '%sBrew' % qtType, '-r', 'HB34', '-p', 'HBAuto', '--debug' ] + logfile[(qtVer, "brewA", "d")] = "%sBrew.build.macos-%s-%s-%s.log" % (qtType.lower(), platform, "debug", "Rhb34Phbauto") elif target == "brewAHW": buildOp[(qtVer, "brewAHW", "r")] = [ '-q', '%sBrew' % qtType, '-r', 'sys', '-p', 'HBAuto' ] logfile[(qtVer, "brewAHW", "r")] = "%sBrew.build.macos-%s-%s-%s.log" % (qtType.lower(), platform, "release", "RsysPhbauto") buildOp[(qtVer, "brewAHW", "d")] = [ '-q', '%sBrew' % qtType, '-r', 'sys', '-p', 'HBAuto', '--debug' ] logfile[(qtVer, "brewAHW", "d")] = "%sBrew.build.macos-%s-%s-%s.log" % (qtType.lower(), platform, "debug", "RsysPhbauto") elif target == "pbrew": - buildOp[(qtVer, "pbrew", "r")] = [ '-q', '%sMacPorts' % qtType, '-r', 'HB33', '-p', 'HB312' ] - logfile[(qtVer, "pbrew", "r")] = "%sMP.build.macos-%s-%s-%s.log" % (qtType.lower(), platform, "release", "Rhb33Phb312") - buildOp[(qtVer, "pbrew", "d")] = [ '-q', '%sMacPorts' % qtType, '-r', 'HB33', '-p', 'HB312', '--debug' ] - logfile[(qtVer, "pbrew", "d")] = "%sMP.build.macos-%s-%s-%s.log" % (qtType.lower(), platform, "debug", "Rhb33Phb312") + buildOp[(qtVer, "pbrew", "r")] = [ '-q', '%sMacPorts' % qtType, '-r', 'HB34', '-p', 'HB312' ] + logfile[(qtVer, "pbrew", "r")] = "%sMP.build.macos-%s-%s-%s.log" % (qtType.lower(), platform, "release", "Rhb34Phb312") + buildOp[(qtVer, "pbrew", "d")] = [ '-q', '%sMacPorts' % qtType, '-r', 'HB34', '-p', 'HB312', '--debug' ] + logfile[(qtVer, "pbrew", "d")] = "%sMP.build.macos-%s-%s-%s.log" % (qtType.lower(), platform, "debug", "Rhb34Phb312") elif target == "pbrewHW": buildOp[(qtVer, "pbrewHW", "r")] = [ '-q', '%sMacPorts' % qtType, '-r', 'sys', '-p', 'HB311' ] logfile[(qtVer, "pbrewHW", "r")] = "%sMP.build.macos-%s-%s-%s.log" % (qtType.lower(), platform, "release", "RsysPhb311") @@ -180,8 +180,8 @@ def Get_QAT_Directory( targetDic, platform ): dirQAT[(qtVer, "ports", "r")] = '%sMP.build.macos-%s-release-Rmp33Pmp312.macQAT' % (qtType.lower(), platform) dirQAT[(qtVer, "ports", "d")] = '%sMP.build.macos-%s-debug-Rmp33Pmp312.macQAT' % (qtType.lower(), platform) elif target == "brew": - dirQAT[(qtVer, "brew", "r")] = '%sBrew.build.macos-%s-release-Rhb33Phb312.macQAT' % (qtType.lower(), platform) - dirQAT[(qtVer, "brew", "d")] = '%sBrew.build.macos-%s-debug-Rhb33Phb312.macQAT' % (qtType.lower(), platform) + dirQAT[(qtVer, "brew", "r")] = '%sBrew.build.macos-%s-release-Rhb34Phb312.macQAT' % (qtType.lower(), platform) + dirQAT[(qtVer, "brew", "d")] = '%sBrew.build.macos-%s-debug-Rhb34Phb312.macQAT' % (qtType.lower(), platform) elif target == "brewHW": dirQAT[(qtVer, "brewHW", "r")] = '%sBrew.build.macos-%s-release-RsysPhb311.macQAT' % (qtType.lower(), platform) dirQAT[(qtVer, "brewHW", "d")] = '%sBrew.build.macos-%s-debug-RsysPhb311.macQAT' % (qtType.lower(), platform) @@ -189,14 +189,14 @@ def Get_QAT_Directory( targetDic, platform ): dirQAT[(qtVer, "ana3", "r")] = '%sAna3.build.macos-%s-release-Rana3Pana3.macQAT' % (qtType.lower(), platform) dirQAT[(qtVer, "ana3", "d")] = '%sAna3.build.macos-%s-debug-Rana3Pana3.macQAT' % (qtType.lower(), platform) elif target == "brewA": - dirQAT[(qtVer, "brewA", "r")] = '%sBrew.build.macos-%s-release-Rhb33Phbauto.macQAT' % (qtType.lower(), platform) - dirQAT[(qtVer, "brewA", "d")] = '%sBrew.build.macos-%s-debug-Rhb33Phbauto.macQAT' % (qtType.lower(), platform) + dirQAT[(qtVer, "brewA", "r")] = '%sBrew.build.macos-%s-release-Rhb34Phbauto.macQAT' % (qtType.lower(), platform) + dirQAT[(qtVer, "brewA", "d")] = '%sBrew.build.macos-%s-debug-Rhb34Phbauto.macQAT' % (qtType.lower(), platform) elif target == "brewAHW": dirQAT[(qtVer, "brewAHW", "r")] = '%sBrew.build.macos-%s-release-RsysPhbauto.macQAT' % (qtType.lower(), platform) dirQAT[(qtVer, "brewAHW", "d")] = '%sBrew.build.macos-%s-debug-RsysPhbauto.macQAT' % (qtType.lower(), platform) elif target == "pbrew": - dirQAT[(qtVer, "pbrew", "r")] = '%sMP.build.macos-%s-release-Rhb33Phb312.macQAT' % (qtType.lower(), platform) - dirQAT[(qtVer, "pbrew", "d")] = '%sMP.build.macos-%s-debug-Rhb33Phb312.macQAT' % (qtType.lower(), platform) + dirQAT[(qtVer, "pbrew", "r")] = '%sMP.build.macos-%s-release-Rhb34Phb312.macQAT' % (qtType.lower(), platform) + dirQAT[(qtVer, "pbrew", "d")] = '%sMP.build.macos-%s-debug-Rhb34Phb312.macQAT' % (qtType.lower(), platform) elif target == "pbrewHW": dirQAT[(qtVer, "pbrewHW", "r")] = '%sMP.build.macos-%s-release-RsysPhb311.macQAT' % (qtType.lower(), platform) dirQAT[(qtVer, "pbrewHW", "d")] = '%sMP.build.macos-%s-debug-RsysPhb311.macQAT' % (qtType.lower(), platform) @@ -240,9 +240,9 @@ def Get_Package_Options( targetDic, platform, srlDMG, makeflag ): packOp[(qtVer, "ports", "d")] = [ '-p', 'LW-%sMP.pkg.macos-%s-debug-Rmp33Pmp312' % (qtType.lower(), platform), '-s', '%d' % srlDMG, '%s' % flag ] elif target == "brew": - packOp[(qtVer, "brew", "r")] = [ '-p', 'LW-%sBrew.pkg.macos-%s-release-Rhb33Phb312' % (qtType.lower(), platform), + packOp[(qtVer, "brew", "r")] = [ '-p', 'LW-%sBrew.pkg.macos-%s-release-Rhb34Phb312' % (qtType.lower(), platform), '-s', '%d' % srlDMG, '%s' % flag ] - packOp[(qtVer, "brew", "d")] = [ '-p', 'LW-%sBrew.pkg.macos-%s-debug-Rhb33Phb312' % (qtType.lower(), platform), + packOp[(qtVer, "brew", "d")] = [ '-p', 'LW-%sBrew.pkg.macos-%s-debug-Rhb34Phb312' % (qtType.lower(), platform), '-s', '%d' % srlDMG, '%s' % flag ] elif target == "brewHW": packOp[(qtVer, "brewHW", "r")] = [ '-p', 'HW-%sBrew.pkg.macos-%s-release-RsysPhb311' % (qtType.lower(), platform), @@ -255,9 +255,9 @@ def Get_Package_Options( targetDic, platform, srlDMG, makeflag ): packOp[(qtVer, "ana3", "d")] = [ '-p', 'LW-%sAna3.pkg.macos-%s-debug-Rana3Pana3' % (qtType.lower(), platform), '-s', '%d' % srlDMG, '%s' % flag ] elif target == "brewA": - packOp[(qtVer, "brewA", "r")] = [ '-p', 'LW-%sBrew.pkg.macos-%s-release-Rhb33Phbauto' % (qtType.lower(), platform), + packOp[(qtVer, "brewA", "r")] = [ '-p', 'LW-%sBrew.pkg.macos-%s-release-Rhb34Phbauto' % (qtType.lower(), platform), '-s', '%d' % srlDMG, '%s' % flag ] - packOp[(qtVer, "brewA", "d")] = [ '-p', 'LW-%sBrew.pkg.macos-%s-debug-Rhb33Phbauto' % (qtType.lower(), platform), + packOp[(qtVer, "brewA", "d")] = [ '-p', 'LW-%sBrew.pkg.macos-%s-debug-Rhb34Phbauto' % (qtType.lower(), platform), '-s', '%d' % srlDMG, '%s' % flag ] elif target == "brewAHW": packOp[(qtVer, "brewAHW", "r")] = [ '-p', 'HW-%sBrew.pkg.macos-%s-release-RsysPhbauto' % (qtType.lower(), platform), @@ -265,9 +265,9 @@ def Get_Package_Options( targetDic, platform, srlDMG, makeflag ): packOp[(qtVer, "brewAHW", "d")] = [ '-p', 'HW-%sBrew.pkg.macos-%s-debug-RsysPhbauto' % (qtType.lower(), platform), '-s', '%d' % srlDMG, '%s' % flag ] elif target == "pbrew": - packOp[(qtVer, "pbrew", "r")] = [ '-p', 'LW-%sMP.pkg.macos-%s-release-Rhb33Phb312' % (qtType.lower(), platform), + packOp[(qtVer, "pbrew", "r")] = [ '-p', 'LW-%sMP.pkg.macos-%s-release-Rhb34Phb312' % (qtType.lower(), platform), '-s', '%d' % srlDMG, '%s' % flag ] - packOp[(qtVer, "pbrew", "d")] = [ '-p', 'LW-%sMP.pkg.macos-%s-debug-Rhb33Phb312' % (qtType.lower(), platform), + packOp[(qtVer, "pbrew", "d")] = [ '-p', 'LW-%sMP.pkg.macos-%s-debug-Rhb34Phb312' % (qtType.lower(), platform), '-s', '%d' % srlDMG, '%s' % flag ] elif target == "pbrewHW": packOp[(qtVer, "pbrewHW", "r")] = [ '-p', 'HW-%sMP.pkg.macos-%s-release-RsysPhb311' % (qtType.lower(), platform),