mirror of https://github.com/KLayout/klayout.git
To add my Bash script for building KLayout on Mac OSX.
This commit is contained in:
parent
11cb5eb998
commit
9a3c026ef4
|
|
@ -0,0 +1,21 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Using Qt 4.8.7 from Mac Ports.
|
||||||
|
#
|
||||||
|
# Ruby: OSX native
|
||||||
|
# Python: OSX native
|
||||||
|
./build.sh \
|
||||||
|
-release \
|
||||||
|
-qmake /opt/local/libexec/qt4/bin/qmake \
|
||||||
|
-build ./qt4.build.macos-yosemite \
|
||||||
|
-bin ./qt4.bin.macos-yosemite \
|
||||||
|
-option -j4 \
|
||||||
|
-with-qtbinding \
|
||||||
|
-qt4 \
|
||||||
|
-ruby /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby \
|
||||||
|
-python /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python \
|
||||||
|
-rbinc /System/Library/Frameworks/Ruby.framework/Headers \
|
||||||
|
-rblib /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/libruby.dylib \
|
||||||
|
-pyinc /System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 \
|
||||||
|
-pylib /System/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib 2>&1 \
|
||||||
|
| tee macbuildQt4.log
|
||||||
|
|
@ -0,0 +1,21 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Using Qt 5.8.0 from Mac Ports.
|
||||||
|
#
|
||||||
|
# Ruby: OSX native
|
||||||
|
# Python: OSX native
|
||||||
|
./build.sh \
|
||||||
|
-release \
|
||||||
|
-qmake /opt/local/libexec/qt5/bin/qmake \
|
||||||
|
-build ./qt5.build.macos-yosemite \
|
||||||
|
-bin ./qt5.bin.macos-yosemite \
|
||||||
|
-option -j4 \
|
||||||
|
-with-qtbinding \
|
||||||
|
-qt5 \
|
||||||
|
-ruby /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby \
|
||||||
|
-python /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python \
|
||||||
|
-rbinc /System/Library/Frameworks/Ruby.framework/Headers \
|
||||||
|
-rblib /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/libruby.dylib \
|
||||||
|
-pyinc /System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 \
|
||||||
|
-pylib /System/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib 2>&1 \
|
||||||
|
| tee macbuildQt5.log
|
||||||
Loading…
Reference in New Issue