Commit Graph

28 Commits

Author SHA1 Message Date
Kazunari Sekigawa f00ede729d Fixed SyntaxWarning: invalid escape sequence '\.' and suppress a deprecation warning 2024-10-25 06:25:02 +09:00
Kazunari Sekigawa 674a6738b8 Updated the macOS build system to work with Sequoia plus migration to Python 3.12 2024-09-24 06:36:16 +09:00
Kazunari Sekigawa 8b26347f0d Updated the build system for MacOS to build KLayout 0.29.0 or later 2024-04-01 17:59:06 +09:00
Kazunari Sekigawa eca739c462 Use Ruby 3.3 from Homebrew and MacPorts
Enhanced nightlyBuild.py to allow the mixed use of Qt5 and Qt6
2024-02-17 06:51:08 +09: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 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 9ba6c38fa1 The Mac build system should use Python3 only 2022-11-10 21:20:14 +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
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 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
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
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 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 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 bd1b2f2bbe running build script in python3 2018-03-06 01:01:16 -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 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 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 6e86ac77d3 Prepare Python scripts for building for Mac OSX.
This refs #4 and #6.
2017-12-28 23:02:01 +09:00
Kazunari Sekigawa 376ddb7cf5 Prepare Python scripts for building for Mac OSX.
This refs #4.
2017-12-27 19:39:24 +09:00