Skip to content

Commit f0cd8c5

Browse files
committed
Build pyodide wheel without rocksdb
1 parent e795cec commit f0cd8c5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

nix/build-all.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,9 @@ def which(cmd):
276276
def gather_dependencies(dep: str) -> "Generator[str]":
277277
yield dep
278278
for d in dependency_tree[dep]:
279-
for x in gather_dependencies(d):
280-
yield x
279+
if f"without-{d.lower()}" not in flags:
280+
for x in gather_dependencies(d):
281+
yield x
281282

282283

283284
if "v" in flags:

pyodide/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ source:
77

88
build:
99
script: |
10-
BUILD_CFG=Release python nix/build-all.py --without-hdf5 --without-opencollada --without-swig --without-pcre -v --wasm --py313 IfcOpenShell-Python
10+
BUILD_CFG=Release python nix/build-all.py --without-rocksdb --without-hdf5 --without-opencollada --without-swig --without-pcre -v --wasm --py313 IfcOpenShell-Python
1111
mv package/ifcopenshell .
1212
cp pyodide/setup.py .
1313

0 commit comments

Comments
 (0)