Commit Graph

19402 Commits

Author SHA1 Message Date
Andrej730 c8e1d53568 ci.yml - note on rtti in rocksdb 2025-10-28 17:13:57 +05:00
Andrej730 79797bca35 ci.yml - exclude PYTHON_LIBRARY as redundant 2025-10-28 17:01:34 +05:00
Andrej730 1286274c98 build_pyodide - test wasm wheel working 2025-10-28 17:01:04 +05:00
Andrej730 c607f7ead2 build-all.py - access pyodide for necessary variables, simplify debug build env 2025-10-28 17:01:03 +05:00
Andrej730 12d4ec7e4f pyodide/setup.py - fix missing ifcopenshell subpackages 2025-10-28 17:01:03 +05:00
Andrej730 1cc0d11321 build-all.py - fix for upcoming pyodide changes (cmake INIT flags) 2025-10-28 17:01:03 +05:00
Andrej730 ff3b7bbf8d build-all.py - reinitialize wasm cxx flags from cflags to accomodate issue upstream 2025-10-28 17:01:03 +05:00
Andrej730 3c8e7180ff ifcwrap cmake - fix issue with debug build after migration to FindPython
In FindPython variable was renamed to Python_LIBRARY_DEBUG
2025-10-28 17:01:03 +05:00
Andrej730 2a379173bc ifcwrap cmake - avoid using deprecated swig_link_libraries 2025-10-28 17:01:03 +05:00
Andrej730 0cb426d7aa ifcwrap cmake - use usual name for wrapper target 2025-10-28 17:01:02 +05:00
Andrej730 52b8fa6c23 cache_dependencies.py - fix tarfile deprecation warnings in 3.12-3.13 2025-10-28 17:01:02 +05:00
Andrej730 6c43e1ab88 ifcwrap cmake - move DEBUG_POSTFIX logic to one place 2025-10-28 17:01:02 +05:00
Andrej730 708d2b2d0a cmake - build without Python libraries on Unix 2025-10-28 17:01:02 +05:00
Andrej730 f07a9a3dff ifcwrap cmake - accomodate bug in cmake makefiles generator 2025-10-28 17:01:02 +05:00
Andrej730 8a2002eabf 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-28 17:01:02 +05:00
Andrej730 75f5b0df64 build_pyodide - use ccache 2025-10-28 17:01:01 +05:00
Andrej730 d8b75d4448 build_rocky - switch to main branch ccache 2025-10-28 17:01:01 +05:00
Andrej730 2c2f9de809 build_pyodide - use prebuilt pyodide build env 2025-10-28 17:01:01 +05:00
Andrej730 9d4db38539 build-all.py - switch to gmp ftpmirror
previous url is inaccessible
2025-10-28 17:01:01 +05:00
Andrej730 3daf7d9dbc build_pyodide - display logs in github action output 2025-10-28 17:01:01 +05:00
Andrej730 3b3025aee2 build_pyodide - upload build logs for debugging 2025-10-28 17:01:00 +05:00
Andrej730 48bdd5ffaa build_pyodide - pack cached dependencies 2025-10-28 17:01:00 +05:00
Andrej730 d543117b51 build_osx - remove setup-python
as it's already preinstalled on the image
2025-10-28 17:01:00 +05:00
Andrej730 580621ac08 build-all.py - print BUILD_DIR 2025-10-28 17:01:00 +05:00
Andrej730 38fde69581 build_pyodide - no need to adjust version
since it's now inferred automatically
2025-10-28 17:01:00 +05:00
Andrej730 2ec796f5ef build-all.py - accomodate pyodide build system automatically
as it's the main way to build the wasm package
2025-10-28 17:01:00 +05:00
Andrej730 f3837c6622 build_pyodide.yaml - move build_pyodide to a separate script 2025-10-28 17:00:59 +05:00
Andrej730 526b36ea46 Add notes for pyodide building process 2025-10-28 17:00:59 +05:00
Andrej730 38edb2f192 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-28 17:00:59 +05:00
Andrej730 596ab1761d ifcwrap cmake - provide correct suffix for wasm python extension 2025-10-28 17:00:59 +05:00
Andrej730 e8b29806f2 pyodide setup.py - add dependencies
so micropip would be able to gather them automatically
2025-10-28 17:00:59 +05:00
Andrej730 6c7a60b134 pyodide setup.py - add a note on not switching to pyproject.toml 2025-10-28 17:00:58 +05:00
Andrej730 90c3ca364c pyodide setup.py - ensure we have correct pyodide_2025_0_wasm32 suffix
Adding extension, but avoiding adding sources as we're not actually building.
As a result build will have a correct suffix `pyodide_2025_0_wasm32.whl` that's pyodide is currently using and this is pyodide is plan to use when it's going to release to PyPI, see https://peps.python.org/pep-0783/
2025-10-28 17:00:58 +05:00
Andrej730 3d7c321812 build-all.py - add a note about alternative gmp mirror 2025-10-28 17:00:58 +05:00
Andrej730 d4612c6e80 cmake - deduplicate ccache set_property code 2025-10-28 17:00:58 +05:00
Andrej730 8b2142d37e 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-28 17:00:58 +05:00
Andrej730 727e6102aa build-all.py - option to build wasm outside pyodide for debugging 2025-10-28 17:00:57 +05:00
Andrej730 ea9c548e85 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-28 17:00:57 +05:00
Andrej730 c4d54b3e91 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-28 17:00:56 +05:00
Andrej730 98a0793ec5 build-all.py - move unsupported dependencies to script 2025-10-28 16:08:08 +05:00
Andrej730 762e8da554 build-deps - use nuget to download ccache 2025-10-28 16:08:08 +05:00
Andrej730 7dbc70e240 build-all.py - print IFCOS_SCHEMAS 2025-10-28 16:08:08 +05:00
Andrej730 29b851de0b build-all.py - document required wasm variables 2025-10-28 16:08:07 +05:00
Andrej730 8a153df899 build-all.py - fix issue building wasm on apple device 2025-10-28 16:08:07 +05:00
Andrej730 57e1e3e177 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-28 16:08:07 +05:00
Andrej730 0e251df6ff build-all.py - bump freetype to avoid issues on cmake 4+ 2025-10-28 16:08:06 +05:00
Andrej730 d38b2f7f1c build-all.py - add note on --without-xxx option 2025-10-28 16:08:06 +05:00
Andrej730 ba5289de1c Add Python 3.14 builds 2025-10-28 16:08:06 +05:00
Andrej730 6f9e72f569 build-deps - set NUGET_EXE from PATH if it's available 2025-10-28 16:08:05 +05:00
Andrej730 8f7a78ac50 build-all - deduce python components from python path 2025-10-28 16:08:05 +05:00