Build pyodide wheel without rocksdb

This commit is contained in:
Thomas Krijnen
2025-09-12 16:10:19 +02:00
parent e795cec56b
commit f0cd8c59c7
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -276,8 +276,9 @@ dependency_tree: "dict[str, tuple[str, ...]]" = {
def gather_dependencies(dep: str) -> "Generator[str]":
yield dep
for d in dependency_tree[dep]:
for x in gather_dependencies(d):
yield x
if f"without-{d.lower()}" not in flags:
for x in gather_dependencies(d):
yield x
if "v" in flags:
+1 -1
View File
@@ -7,7 +7,7 @@ source:
build:
script: |
BUILD_CFG=Release python nix/build-all.py --without-hdf5 --without-opencollada --without-swig --without-pcre -v --wasm --py313 IfcOpenShell-Python
BUILD_CFG=Release python nix/build-all.py --without-rocksdb --without-hdf5 --without-opencollada --without-swig --without-pcre -v --wasm --py313 IfcOpenShell-Python
mv package/ifcopenshell .
cp pyodide/setup.py .