Commit Graph

127 Commits

Author SHA1 Message Date
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
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
Kazunari Sekigawa def0405e8c The current MacPorts' Ruby version is 3.2.2 2023-04-23 21:33:42 +09: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
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 4d894ef66b Revised the ReadMe.md document. 2022-12-24 21:30:35 +09: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 6c6a3ae3b0 Updated the ZIP files containing the script bundle files 2022-12-24 09:42:41 +09:00
Kazunari Sekigawa 2092a9087a Added new icons for macOS 2022-12-23 06:48:47 +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 34fc357130 Update the Ruby version in MacPorts 2022-12-02 06:38:45 +09:00
Kazunari Sekigawa 9ba6c38fa1 The Mac build system should use Python3 only 2022-11-10 21:20:14 +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 b600eb1b02 WIP: Updated the background image for DMGs 2021-11-26 18:30:59 +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 11fbef28b8 Updated the wrapper scripts to run "ut_runner" for QA tests. 2021-06-22 07:06:06 +09:00
Kazunari Sekigawa 0051d83026 Synced with the latest Homebrew formula names. 2021-05-08 22:28:32 +02:00
Kazunari Sekigawa acf52e5e4f Updated Homebrew-related documents. 2021-05-08 22:28:27 +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 5ac2da4606 Update of the build system for macOS (#725)
* Updated the background image for mac DMGs.

* Updated a convenience tool for making DMGs for macOS.
2021-02-08 22:07:51 +01:00
Kazunari Sekigawa a9c47b460f Update of the macOS development environment for Big Sur (#711)
* In the MacPorts environment, Ruby 2.7 is used.

* Updated the build tools for Mac supporting Qt-5.15.2 from MacPorts.

* Updated the Ruby environment for BigSur and Catalina.

* To update the Mac DMG maker to support Big Sur.

* Updated the resource files for Mac DMGs.
2021-01-27 12:45:22 +01:00
Kazunari Sekigawa c087f37aa9 In the MacPorts environment, Ruby 2.7 is used. (#690) 2020-12-08 23:33:11 +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 1043ae165c Reviewed and edited the contents of "ReadMe" files. 2020-05-25 22:20:30 +02:00
Kazunari Sekigawa 106a5c879d Improved the tool kit for making DMG packages for macOS. 2020-05-25 22:20:27 +02:00
Kazunari Sekigawa 004eb09b7c Update the sample script bundles, too. 2020-05-25 22:20:25 +02:00
Kazunari Sekigawa 2eeb1c69cd Fix the link error in using Anaconda3. 2020-05-25 22:20:19 +02:00
Kazunari Sekigawa edba2bd7a0 Update of the build environment for macOS (#553)
* Update Homebrew environment: Python 3.7.7

This refs #36.

* Update the sample script bundles in Bash to accept design file names.
2020-05-10 21:55:34 +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 e7dc551f7b Set the right Ruby environment for Mojave. 2020-01-01 15:44:59 +09:00
Kazunari Sekigawa 9c9d517a73 Added "ReadMe.txt" file regarding the sample script bundles (*.app). 2019-12-29 18:40:20 +09:00
Kazunari Sekigawa ccaad225a7 To build 0.26.1 on Catalina. Updated comments. 2019-12-22 20:38:52 +09:00
Kazunari Sekigawa aaf117508d To build 0.26.1 on Catalina. 2019-12-22 20:38:52 +09:00
Kazunari Sekigawa 056c7146f3 To force "Light Mode" in Mojave "Dark Mode." 2019-03-25 22:17:40 +01:00