diff --git a/nix/build-all.py b/nix/build-all.py index f1450c0abb..0d3b6b4b43 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -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: diff --git a/pyodide/meta.yaml b/pyodide/meta.yaml index 9e8acd5512..f18eceb0b2 100644 --- a/pyodide/meta.yaml +++ b/pyodide/meta.yaml @@ -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 .