mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
build_pyodide.yaml - move build_pyodide to a separate script
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/bash
|
||||
set -e
|
||||
cd pyodide
|
||||
make
|
||||
cd ..
|
||||
mkdir -p packages/ifcopenshell
|
||||
cp IfcOpenShell/pyodide/meta.yaml packages/ifcopenshell
|
||||
# Required, otherwise pyodide will create new temp pyodide environment.
|
||||
export PYODIDE_ROOT=/src/pyodide
|
||||
# Ensure emsdk tools are in PATH.
|
||||
export PATH=$PYODIDE_ROOT/emsdk/emsdk:$PYODIDE_ROOT/emsdk/emsdk/node/22.16.0_64bit/bin:$PYODIDE_ROOT/emsdk/emsdk/upstream/emscripten:$PATH
|
||||
pyodide build-recipes ifcopenshell --install
|
||||
Reference in New Issue
Block a user