mirror of https://github.com/KLayout/klayout.git
Prepare Python scripts for building for Mac OSX.
This refs #4 and #6. # Conflicts: # macbuild/build4mac.py
This commit is contained in:
parent
1fe6280970
commit
4deb368e4d
|
|
@ -1,25 +1,39 @@
|
||||||
<< Draft Version 0.001>>
|
<< Draft Version 0.002>>
|
||||||
|
|
||||||
This directory "macbuild" contains different files required to build KLayout
|
1. Introduction:
|
||||||
version 0.25 or later for different Max OSX including:
|
This directory "macbuild" contains different files required to build KLayout
|
||||||
* Yosemite (10.10)
|
version 0.25 or later for different Max OSX including:
|
||||||
* El Capitan (10.11)
|
* Yosemite (10.10)
|
||||||
* Sierra (10.12)
|
* El Capitan (10.11)
|
||||||
* High Sierra (10.13)
|
* Sierra (10.12)
|
||||||
|
* High Sierra (10.13)
|
||||||
|
|
||||||
By default, Qt framework is Qt5 from Mac Ports (https://www.macports.org/) which
|
By default, Qt framework is Qt5 from Mac Ports (https://www.macports.org/) which
|
||||||
is usually located under:
|
is usually located under:
|
||||||
/opt/local/libexec/qt5/
|
/opt/local/libexec/qt5/
|
||||||
|
|
||||||
Also by default, supported script languages, i.e,, Ruby and Python, are those
|
Also by default, supported script languages, i.e, Ruby and Python, are those
|
||||||
standard ones bundled with the OS.
|
standard ones bundled with the OS.
|
||||||
However, you are able to choose other options like Python from Anaconda.
|
However, you are able to choose other options like Python from Anaconda.
|
||||||
|
:
|
||||||
bla bla bla ...
|
:
|
||||||
|
:
|
||||||
|
:
|
||||||
|
|
||||||
|
|
||||||
To use the top script "build4mac.py" make a symbolic link from the parent directory like:
|
2. How to use:
|
||||||
build4mac.py -> macbuild/build4mac.py
|
(1) Make a symbolic link from the parent directory (where 'build.sh' exists) to
|
||||||
then execute the Python script to build with appropriate options if required.
|
'build4mac.py', that is,
|
||||||
|
build4mac.py -> macbuild/build4mac.py
|
||||||
|
|
||||||
|
(2) Build KLayout by appropriate options, for example, for debug-build:
|
||||||
|
$ cd /where/'build.sh'/exists
|
||||||
|
$ ./build4mac.py -d
|
||||||
|
|
||||||
|
(3) Confirm successful build.
|
||||||
|
|
||||||
|
(4) Run 'build4mac.py' again with the same options used in (2) with "-y"
|
||||||
|
to deploy executables and libraries under "klayout.app" bundle.
|
||||||
|
$ ./build4mac.py -d -y
|
||||||
|
|
||||||
[End of File]
|
[End of File]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue