File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,12 @@ $PIP install --upgrade pip
2525
2626# make wheels
2727# /opt/python-wasm-sdk/python3-wasm setup.py bdist_wheel
28+
2829$PIP install wheel
30+
31+
2932# cython
33+ $HPY -m pip install build/$CYTHON_WHL
3034$PIP install build/$CYTHON_WHL
3135
3236
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ unset PYTHONPATH
9797COMMON="-Wno-unused-command-line-argument -Wno-unreachable-code-fallthrough -Wno-limited-postlink-optimizations"
9898SHARED=""
9999IS_SHARED=false
100-
100+ PY_MODULE=false
101101for arg do
102102 shift
103103
@@ -126,6 +126,16 @@ for arg do
126126 fi
127127
128128 if echo "\$ arg"|grep -q wasm32-emscripten.so\$
129+ then
130+ PY_MODULE=true
131+ fi
132+
133+ if echo "\$ arg"|grep -q abi3.so\$
134+ then
135+ PY_MODULE=true
136+ fi
137+
138+ if \$ PY_MODULE
129139 then
130140 SHARED_TARGET=\$ arg
131141 if \$ IS_SHARED
You can’t perform that action at this time.
0 commit comments