From 2f0fa28e5836f2ff2d2e92bf8b9ca083ec5ce7f2 Mon Sep 17 00:00:00 2001 From: Kazunari Sekigawa Date: Sat, 10 Oct 2020 07:09:34 +0900 Subject: [PATCH] * Updated the build system for Mac (#645) * Catalina env. uses Python 3.8 in MacPorts, Homebrew, and Anaconda3. --- macbuild/ReadMe.md | 46 ++-- macbuild/Resources/script-bundle-A.zip | Bin 4361604 -> 4361659 bytes macbuild/Resources/script-bundle-B.zip | Bin 4371595 -> 4371668 bytes macbuild/Resources/script-bundle-P.zip | Bin 4396762 -> 4396838 bytes macbuild/build4mac.py | 152 ++++++++------ macbuild/build4mac_env.py | 38 ++-- macbuild/build4mac_util.py | 146 +++++++++---- macbuild/macQAT.py | 278 +++++++++++++++++++++++++ macbuild/makeDMG4mac.py | 14 +- 9 files changed, 521 insertions(+), 153 deletions(-) create mode 100755 macbuild/macQAT.py diff --git a/macbuild/ReadMe.md b/macbuild/ReadMe.md index 4f87e9616..09344755b 100644 --- a/macbuild/ReadMe.md +++ b/macbuild/ReadMe.md @@ -1,4 +1,4 @@ -Relevant KLayout version: 0.26.5 +Relevant KLayout version: 0.26.7 # 1. Introduction This directory **`macbuild`** contains different files required for building KLayout (http://www.klayout.de/) version 0.26.1 or later for different 64-bit Mac OSXs including: @@ -72,16 +72,16 @@ $ [python] ./build4mac.py : MP26: use Ruby 2.6 from MacPorts | : HB27: use Ruby 2.7 from Homebrew | : Ana3: use Ruby 2.5 from Anaconda3 | - [-p|--python ] : case-insensitive type=['nil', 'Sys', 'MP37', 'HB37', 'Ana3'] | sys + [-p|--python ] : case-insensitive type=['nil', 'Sys', 'MP38', 'HB38', 'Ana3'] | sys : nil: don't bind Python | : Sys: use OS-bundled Python 2.7 [ElCapitan -- Catalina] | - : MP37: use Python 3.7 from MacPorts | - : HB37: use Python 3.7 from Homebrew | - : Ana3: use Python 3.7 from Anaconda3 | + : MP38: use Python 3.8 from MacPorts | + : HB38: use Python 3.8 from Homebrew | + : Ana3: use Python 3.8 from Anaconda3 | [-n|--noqtbinding] : don't create Qt bindings for ruby scripts | disabled [-m|--make