273 Commits

Author SHA1 Message Date
Thomas Krijnen 2fe491b7b5 Merge remote-tracking branch 'origin/v0.8.0' into test-ci 2025-10-27 06:54:10 +01:00
Thomas Krijnen 89defa9b6b build-all.py ruff: noqa: UP035 2025-10-26 10:20:13 +01:00
Thomas Krijnen c4a992a9b5 Merge remote-tracking branch 'origin/v0.8.0' into test-ci 2025-10-26 09:50:01 +01:00
Andrej730 0a34a37d65 cmake - build without Python libraries on Unix 2025-10-23 20:02:03 +05:00
Andrej730 4c53f4359d build-all - use shutil.which instead of custom function
To make it more idiomatic and custom function also was misinterpreting folders with the same name as existing executables.
2025-10-23 17:15:17 +05:00
Andrej730 afb6befce6 build-all.py - switch to gmp ftpmirror
previous url is inaccessible
2025-10-22 13:53:17 +05:00
Andrej730 b12dddc2f0 build-all.py - print BUILD_DIR 2025-10-22 10:37:44 +05:00
Andrej730 908a001ed8 build-all.py - accomodate pyodide build system automatically
as it's the main way to build the wasm package
2025-10-22 10:37:44 +05:00
Andrej730 0e3f8cba8d build-all.py wasm - move SIDE_MODULE=2 to cmake
Next to `EXPORTED_FUNCTIONS` and avoid possible issues with pyodide in the future (pyodide is using `SIDE_MODULE=1`, but currently not providing it libraries of type `MODULE`, only for shared ones).
2025-10-22 10:37:43 +05:00
Thomas Krijnen e2cf60f0c1 Update to gmp 6.3.0 #7200 2025-10-21 12:18:48 +02:00
Andrej730 5f777691cf build-all.py - add a note about alternative gmp mirror 2025-10-17 17:16:36 +05:00
Andrej730 ebcdabff07 build-all.py - don't pass side module flags as usual flags
As they're parsed by emcmake automatically https://github.com/pyodide/pyodide-build/blob/bdd0b1422064de6d92264a08c599e85001a28567/pyodide_build/tools/cmake/Modules/Platform/Emscripten.cmake#L105-L107
2025-10-17 15:34:11 +05:00
Andrej730 2cfa5201ca build-all.py - option to build wasm outside pyodide for debugging 2025-10-16 11:18:41 +05:00
Andrej730 8dafcc6b88 build-all.py - provide exported functions to target explicitly
Otherwise it broke compilation in some cases when cmake would try to test that linker is working.
2025-10-16 11:18:41 +05:00
Andrej730 626bb8b011 build-all - wasm to use packages instead of providing includes/libs paths explicitly
More complicated than I anticipated😅

Details
https://discourse.cmake.org/t/provide-absolute-paths-to-dependencies-with-cmake-find-root-path-search-during-cross-compilation-wasm/15241
2025-10-16 11:18:41 +05:00
Andrej730 721f74f045 build-all.py - move unsupported dependencies to script 2025-10-16 11:18:40 +05:00
Andrej730 612bd0b0a0 build-all.py - print IFCOS_SCHEMAS 2025-10-10 20:46:03 +05:00
Andrej730 3414d3c7ef build-all.py - document required wasm variables 2025-10-10 20:46:03 +05:00
Andrej730 6c1b3bcbdc build-all.py - fix issue building wasm on apple device 2025-10-10 17:48:29 +05:00
Andrej730 ceba8d51c5 build-all.py - remove --host none from wasm args
As it's now obsolete and producing warnings `configure: WARNING: the "none" host is obsolete, use --disable-assembly`.
2025-10-10 17:48:28 +05:00
Andrej730 0c3fbfa2b8 build-all.py - bump freetype to avoid issues on cmake 4+ 2025-10-10 17:48:28 +05:00
Andrej730 05805bb557 build-all.py - add note on --without-xxx option 2025-10-10 17:48:28 +05:00
Andrej730 3edb006c35 Add Python 3.14 builds 2025-10-09 17:13:07 +05:00
Andrej730 fbd6755666 build-all - deduce python components from python path 2025-10-08 18:37:15 +05:00
Andrej730 fb304e141a build-all.py - note on doubled compilation times 2025-10-04 21:40:07 +05:00
Esteban Dugueperoux ab0a602f9f black: Format incorrectly formated files (#7194) 2025-10-04 18:59:42 +05:00
Thomas Krijnen 02713dbd39 nix build script add occt 7.9.1 patch 2025-10-03 18:08:37 +02:00
Thomas Krijnen d58dae5d2f nix build script add occt 7.9.1 patch 2025-10-03 18:05:39 +02:00
Andrej730 923e8423f9 black . 2025-09-29 16:43:28 +05:00
myoualid c64b477e53 last attempt to fix WASM build: libxml2 without threads and use explicit libxml2 paths 2025-09-29 00:49:12 +01:00
myoualid 4f7501e1e8 set Eigen3 path for WASM build to avoid find_package issues following commit 235eb3c83c 2025-09-28 21:56:27 +01:00
myoualid a1f20ec7bb add explicit OCCT paths for WASM builds 2025-09-28 20:20:43 +01:00
myoualid e2ee6c6e56 Fix WASM build by reverting CGAL handling to explicit paths from commit 3ec7b71565 2025-09-28 16:43:58 +01:00
myoualid 6940a05f2b remove yacc dependency for wasm build 2025-09-28 13:51:38 +01:00
Andrej730 7a33a9eb02 build_osx - fix issue building arm64 2025-09-26 21:53:33 +05:00
Andrej730 07ba483a13 build-all - bump Python version to fix issue cross compiling
Not sure which patch version exactly fixed it, but 3.13.6 works.
2025-09-26 21:53:33 +05:00
Andrej730 f9ee838cd2 build-all - cross compile dependencies 2025-09-26 21:53:32 +05:00
Andrej730 cce0c39ab2 build-all.py - provide with-openssl for python on Mac 2025-09-26 21:53:32 +05:00
Andrej730 6b705f0448 build-all.py - document ADD_COMMIT_SHA env var 2025-09-26 21:53:32 +05:00
Andrej730 cac41064e0 build_osx - attempt to cross-compile intel binaries
ccache step broke (https://github.com/hendrikmuhs/ccache-action/issues/374) and macos-13 is now deprecated in general -
https://github.blog/changelog/2025-09-19-github-actions-macos-13-runner-image-is-closing-down/
2025-09-26 21:53:32 +05:00
Andrej730 350cf0406d build-all.py - override minimum cmake version for OpenCOLLADA 2025-09-26 21:53:32 +05:00
Andrej730 47fd52b7c1 build-all.py - bump eigen package to avoid issues on cmake 4 2025-09-26 21:53:32 +05:00
Andrej730 d4c02a312a build-all.py - bump json package to avoid issues on cmake 4 2025-09-26 21:53:31 +05:00
Andrej730 7cc1a849a6 build-all.py - opencollada patch to support config package on Unix 2025-09-26 21:53:31 +05:00
Andrej730 4df93af1fd build-all.py - add OpenCOLLADA to IfcGeom dependencies
Otherwise it can be overlooked if you build IfcOpenShell-Python or any other target specifically, it was only built if you run build-all.py without any target arguments.
2025-09-26 21:53:31 +05:00
Andrej730 fc1c8f2071 build-all.py - CGAL to use v5.6.3
5.6.x-branch was removed, see https://github.com/CGAL/cgal/issues/9079
2025-09-26 21:53:31 +05:00
Andrej730 e8d924426f build-all.py - add a note about xz requirement 2025-09-26 21:53:30 +05:00
Andrej730 5a3f809d03 build-all.py - fix Python 3.6 support for rocky (566c9af) 2025-09-26 21:53:30 +05:00
Andrej730 b22452aaac build-all.py - print all missing commands simultaneoously 2025-09-26 21:53:30 +05:00
Andrej730 6c05e2ea8c Fix missing yacc in linux builds 2025-09-26 21:53:30 +05:00