Commit Graph

41 Commits

Author SHA1 Message Date
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
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
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 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 34fc357130 Update the Ruby version in MacPorts 2022-12-02 06:38:45 +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 2858d4507e WIP: Migration to Qt6.
This refs #45.
2021-11-27 12:05:27 +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 0051d83026 Synced with the latest Homebrew formula names. 2021-05-08 22:28:32 +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 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 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 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 e7dc551f7b Set the right Ruby environment for Mojave. 2020-01-01 15:44:59 +09:00
Kazunari Sekigawa aaf117508d To build 0.26.1 on Catalina. 2019-12-22 20:38:52 +09: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
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 ac2bd96ace successful build with qt 5.9.4 and py 3.6.4 2018-03-06 19:29:21 -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 10e48eef96 To use the latest "anaconda2" 5.0.1
This refs #4 and #19.
2018-01-08 16:57:56 +09:00
Kazunari Sekigawa 8c64e2bbaa To use the latest "anaconda2" 5.0.1
This refs #4 and #19.
2018-01-08 07:04:25 +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 65e9a1854a Prepare Python scripts for building for Mac OSX.
This refs #4 and #6.
2017-12-29 21:00:03 +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 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