Commit Graph

43 Commits

Author SHA1 Message Date
Kazunari Sekigawa 22df10f425 Update of the build system for macOS for 0.26.9 (#686)
* * Updated the build system for Mac
* Catalina env. uses Python 3.8 in MacPorts, Homebrew, and Anaconda3.

* Use Ruby 2.7 in MacPorts.

* Test build for macOS "Big Sur" (11.0) on Intel Mac "Catalina" (10.15.7).

* Updated the build system for macOS, including the future support for Big Sur (11.0)
2020-11-26 23:01:14 +01:00
Thomas Ferreira de Lima b37ce4e130 WIP: Parametrizing macbuild to make custom installations easier (#680)
* Changing indentation to 4 spaces

* squash

* removing more global variables (squash)

* | tee always exits with 0

* parameter is a dictionary now

* Changing default Makefile to HB38 and adding -rbinc2 option for Catalina

* Catalina building...

* macQAT fixed

* run_build_command depends on parameteres dict alone

* Adding options to macbuild/makeDMG4mac.py

In particular, we can now specify a -u (unsafe) option, and
specify the target dmg file with -t target.dmg
2020-11-21 22:09:03 +01:00
Kazunari Sekigawa 2f0fa28e58 * Updated the build system for Mac (#645)
* Catalina env. uses Python 3.8 in MacPorts, Homebrew, and Anaconda3.
2020-10-10 00:10:08 +02:00
Kazunari Sekigawa ec4d175726 Update the build system for Mac. (#612) 2020-07-17 01:04:27 +02:00
Kazunari Sekigawa 20dd377108 Update the build tools for macOS:
* KLayout version 0.26.4
 * Homebrew Ruby 2.6 --> 2.7.
2020-03-07 07:30:48 +09:00
Kazunari Sekigawa 5bb85c7490 The command line buddy tools need the symbolic link under Frameworks:
'db_plugins' --slink--> ../MacOS/db_plugins/
2020-01-08 22:20:55 +09:00
Kazunari Sekigawa aaf117508d To build 0.26.1 on Catalina. 2019-12-22 20:38:52 +09:00
Thomas Ferreira de Lima b995c67a26
os.makedirs has no exist_ok in python2 2018-10-05 09:42:42 -04:00
Thomas Ferreira de Lima 96be601da9
improving build process. tentative fix to python3 osx10.11 2018-10-05 09:42:42 -04:00
Matthias Koefferlein d8b1808234 Enhanced the build script to properly set the library IDs
This fix assigns proper library IDs and load paths for the dependent
libraries even if they are distributed among several directories.

This is in particular important for the stream and tool plugins
which exist in a folder next to the application but have to refer
to libraries from the Frameworks folder.

The fix consists of extending the library analysis within build4mac.py
and supplying an additional directory listing the target directories.
2018-10-02 18:57:04 -07:00
Matthias Koefferlein f7c4aa0348 (Partial) attempt to fix the plugin detection issue on MacOS 2018-10-02 17:36:30 -07:00
Matthias Koefferlein c053e4f8ec Manual merge of remaining files from lightwave-lab:pymod-test to pymod
git merge failed, probably because there were two parallel attempts
to merge master into pymod leading to opposite resolutions.
2018-10-02 22:41:08 +02:00
Daniel Wang b9484f9ebd
Remove pathlib dependency for building on Mac OS 2018-08-08 14:30:48 -04:00
Daniel Wang ba3720ad4a
Fix Mac OS build scripts to work with both Python 2 and Python 3 2018-08-02 20:15:45 -04:00
Thomas Ferreira de Lima 896f7347f0 full python embed with dependencies. includes ssl 2018-06-26 03:24:02 -04:00
Thomas Ferreira de Lima 87212fdd03 build4mac only works with python3 for now 2018-03-19 17:47:57 -04:00
Thomas Ferreira de Lima f23a4a7227 Adding start-console.py script to klayout.app 2018-03-19 17:18:24 -04:00
Thomas Ferreira de Lima 6438d665fc Embedding the Python.framework into the bundle. patching distutils, site and pip so they work inside. 2018-03-19 17:04:37 -04:00
Thomas Ferreira de Lima 1ed12d4715 Merge branch 'master' into macos_retina 2018-03-19 23:21:06 -04:00
Thomas Ferreira de Lima b5b3144aba Revert "Changing python path for brew installation"
This reverts commit fa96f6d352.

Thinking about it, it would be horrible for deployment. Need to rethink this.
Klayout will break once python goes to 3.7 and brew updates it.
2018-03-16 17:01:56 -04:00
Thomas Ferreira de Lima 305240ccc3 Changing python path for brew installation
- Assuming user installing with brew wants the library link to go to cellar rather than /usr/local/opt/.
- Python gets updated often in brew, and an update could possibly break klayout.
2018-03-16 17:01:56 -04:00
Thomas Ferreira de Lima e90edf4434 Compilation with brew dependencies successful!
Using brew's qt and python3 formulae
Bonus: I have also added a script that embeds python into bundle, recursively adding dependencies from inside /usr/local/opt. That means that /usr/local/lib folders are not going to be copied. I saw one dependency to /usr/local/lib/gcc from one of numpy's modules, instead of pointing towards /usr/local/opt/gcc/lib/gcc.

Side effects: Renaming Qt5Custom to Qt5Brew
2018-03-16 17:01:47 -04:00
Thomas Ferreira de Lima a6738f5be4 better ruler rendering. Fails totally at 2x oversampling 2018-03-15 23:07:25 -04:00
Thomas Ferreira de Lima 7aaf391044 symbolic link to klayout executable now opens klayout properly 2018-03-06 15:25:43 -05:00
Thomas Ferreira de Lima bd1b2f2bbe running build script in python3 2018-03-06 01:01:16 -05:00
Thomas Ferreira de Lima 4e4beefe3b adding QtCustom flag for macos building 2018-02-07 10:51:38 -05:00
Thomas Ferreira de Lima ee0c348e14 adding brew options for python 3.6 and ruby 2.5 2018-02-05 23:49:18 -05:00
Kazunari Sekigawa 208b93c3a7 Revised "ReadMe" and comments in *.py.
This refs #4 and #19.
2018-01-08 22:37:18 +09:00
Kazunari Sekigawa 10e48eef96 To use the latest "anaconda2" 5.0.1
This refs #4 and #19.
2018-01-08 16:57:56 +09:00
Kazunari Sekigawa ecade95463 To add one option to trace deployment process of `macdeployqt` tool.
This refs #4 and #19.
2018-01-04 19:55:11 +09:00
Kazunari Sekigawa 91bf2a1eb0 To test "build4mac.py" family with non-standard script language support like Anaconda.
This refs #4.
2018-01-03 12:53:41 +09:00
Kazunari Sekigawa 016e5adbeb To test "build4mac.py" family with non-standard script language support like Anaconda.
This refs #4.
2018-01-03 07:41:44 +09:00
Kazunari Sekigawa 52d299ed62 To arrange the contents of "Info.plist" file.
To generate two script bundles: KLayoutEditor.app & KLayoutViewer.app.

This refs #6.
2018-01-01 08:42:13 +09:00
Kazunari Sekigawa 03222ee5c9 To arrange the contents of "Info.plist" file.
To generate two script bundles: KLayoutEditor.app & KLayoutViewer.app.

This refs #6.
2017-12-31 21:22:32 +09:00
Kazunari Sekigawa 65e9a1854a Prepare Python scripts for building for Mac OSX.
This refs #4 and #6.
2017-12-29 21:00:03 +09:00
Kazunari Sekigawa 102cfe5c3d Prepare Python scripts for building for Mac OSX.
This refs #4 and #6.
2017-12-29 00:11:19 +09:00
Kazunari Sekigawa 6e86ac77d3 Prepare Python scripts for building for Mac OSX.
This refs #4 and #6.
2017-12-28 23:02:01 +09:00
Kazunari Sekigawa 978ac4786e Prepare Python scripts for building for Mac OSX.
This refs #4.
2017-12-27 22:56:36 +09:00
Kazunari Sekigawa 376ddb7cf5 Prepare Python scripts for building for Mac OSX.
This refs #4.
2017-12-27 19:39:24 +09:00
Kazunari Sekigawa fa0fec9bfa Prepare Python scripts for building for Mac OSX.
This refs #4.
2017-12-16 18:55:10 +09:00
Kazunari Sekigawa 6dfc5fe38a Prepare Python scripts for building for Mac OSX.
This refs #4.
2017-12-16 16:34:24 +09:00
Kazunari Sekigawa fbcd9516a5 Prepare Python scripts for building for Mac OSX.
This refs #4.
2017-12-16 14:45:14 +09:00
Kazunari Sekigawa 9b9d68a638 Prepare Python scripts for building for Mac OSX.
This refs #4.
2017-12-16 13:58:42 +09:00