Commit Graph

72 Commits

Author SHA1 Message Date
Matthias Koefferlein 9a52095dd0 Merge branch 'master' into wip 2024-01-07 17:25:11 +01:00
Kazunari Sekigawa 82d0c28c45
Updated the build system for macOS: Anaconda3's Ruby 3.1.4 -> 3.2.2. (#1591) 2024-01-07 17:23:10 +01:00
Matthias Koefferlein d1695b88af Merge branch 'wip' 2023-12-23 18:05:54 +01:00
Kazunari Sekigawa 267a5ee7b0 Overhauled the build system for MacOS ['Monterey', 'Ventura', 'Sonoma'] to build KLayout-0.28.13 or later with support for libgit2. 2023-11-23 15:13:41 +09:00
Matthias Koefferlein 261d0249e8 Merge branch 'wip' 2023-10-19 21:23:07 +02:00
Kazunari Sekigawa 363efb9d19 Added Change_Python_LibPath_RelativeToAbsolute() function to force relative paths of libraries that Python depends on to absolute paths. Also added some code for debugging. 2023-10-04 22:14:27 +09:00
Kazunari Sekigawa 36c883dba3 Added the -headerpad_max_install_names switch to LDFLAGS to address an issue reported by the delocate-wheel tool.
https://stackoverflow.com/questions/28324785/install-name-tool-cant-use-change-because-larger-updated-load-commands-do-not
2023-09-26 21:14:29 +09:00
Matthias Koefferlein 254015617d Merge branch 'wip' into wip2 2023-08-11 19:17:01 +02:00
Kazunari Sekigawa 274a0311c9 Updated the build system for Mac because Homebrew's latest python@3.9 (Python 3.9.17) depends on openssl@3 (previous version 3.9.16 depended on openssl@1.1). 2023-07-10 06:47:07 +09:00
Matthias Koefferlein fd0c60761f Merge branch 'master' into wip 2023-03-24 15:56:48 +01:00
Kazunari Sekigawa d38899bf16 Updated the build system for macOS to build KLayout version 0.28.6 2023-03-19 07:38:23 +09:00
Matthias Koefferlein 3e53431d92 Preparing for integrated python module (Mac) 2023-03-07 23:44:39 +01:00
Kazunari Sekigawa 334e9985f3
The build system for macOS uses Ruby 3.2 in MacPorts and Homebrew by default (earlier, 3.1) (#1286)
* The build system for macOS uses Ruby 3.2 in MacPorts and Homebrew by default (earlier, 3.1)

* The build system for macOS uses Ruby 3.2 in MacPorts and Homebrew by default (earlier, 3.1)

* The build system for macOS uses Ruby 3.2 in MacPorts and Homebrew by default (earlier, 3.1)

---------

Co-authored-by: Kazunari Sekigawa <kazunari_sekigawa@shinko.co.jp>
2023-02-12 22:24:01 +01:00
Kazunari Sekigawa 76e0052672
Revised the build system for macOS for 0.28.3 and newly supported Ventura (#1252)
* Again revised the build system for macOS to switch Python from 3.8 to 3.9 and to support Ventura.

* WIP: Update

Co-authored-by: Kazunari Sekigawa <kazunari_sekigawa@shinko.co.jp>
2023-01-16 23:13:28 +01:00
Kazunari Sekigawa 9720de0f37 Again, the build system for macOS was revised to work with KLayout version 0.28 or later. 2022-12-24 11:08:57 +09:00
Kazunari Sekigawa 2e3bc28a69 Made changes to build KLayout 0.28~:
1) Set the CPATH environment variable for including <png.h> required to build the pymod
2) Not to use Python 2.7 on Catalina (nightlybuild)
3) Resolve the library dependency of Python in Homebrew
4) Add a handy tool to setup the standardized directory structures for Homebrew Python 3.x
2022-12-17 14:12:37 +09:00
Kazunari Sekigawa 4b1f256570 Updated the Mac build system to include the migration to Qt6 2022-10-10 11:36:50 +09:00
Kazunari Sekigawa b5e81d7cb8 To make 'build.sh' detect the Qt type automatically. 2022-05-23 17:51:57 +09:00
Kazunari Sekigawa 926dc8f702 Modified the build system for Mac to optionally build and deploy the KLayout Python Module (*.whl and *.egg) for LW-*.dmg (#1078)
* WIP: add "pymod"

* To fix the issue reported by GitHub ticket No.1040

* WIP: To build "pymod"

* Updated the build system for Mac.

* Updated the build system for Mac.

* Modified the build system for Mac to optionally build and deploy the KLayout Python Module (*.whl and *.egg) for LW-*.dmg
2022-05-10 20:27:14 +02:00
Kazunari Sekigawa 2b693ec39b Updated the build system for Mac (#1073)
* WIP: add "pymod"

* To fix the issue reported by GitHub ticket No.1040

* WIP: To build "pymod"

* Updated the build system for Mac.

* Updated the build system for Mac.
2022-05-05 22:07:46 +02:00
Kazunari Sekigawa 709466bd54 Updated the build system for Mac. 2022-01-10 15:13:22 +09:00
Kazunari Sekigawa 5cfc13be71 WIP: Migration to Qt6.
This refs #45.
2021-11-28 07:51:05 +09:00
Kazunari Sekigawa 2858d4507e WIP: Migration to Qt6.
This refs #45.
2021-11-27 12:05:27 +09:00
Kazunari Sekigawa 13d2e9018a Updated the build system for Mac to support Monterey 2021-11-16 23:06:24 +09:00
Kazunari Sekigawa bca2164c16 Updated the build system for Mac to support Monterey 2021-11-16 06:38:47 +09:00
Kazunari Sekigawa 04e345ef14 Set the EOL style back to Unix. 2021-07-17 22:39:46 +09:00
klayoutmatthias 1555daf68c Adjustments for Windows build with MSVC2019 (VC 16.10.31419.357)
1. removed some duplicate symbol linker error
2. removed many compiler warnings (mainly size_t/int compatibility)
3. consistent definition of db::pcell_id_type
4. removed UTF-8 character codes from string constants
5. float constants for float arguments
6. timeout in tlHttp when no openssl lib is found (instead of stalling
   app)
2021-07-17 00:20:55 +02:00
Kazunari Sekigawa 50574ab1ed Modified the build system for macOS to test an M1 Mac. 2021-05-08 22:28:19 +02:00
Kazunari Sekigawa 6f031a4baf Added a new option to control "-without-qt-uitools" 2021-03-15 10:23:36 +01:00
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