Skip to content

Commit 2ce5355

Browse files
committed
3.1.25pre
1 parent 9de2418 commit 2ce5355

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

scripts/cpython-build-emsdk-prebuilt.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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

scripts/emsdk-fetch.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ unset PYTHONPATH
9797
COMMON="-Wno-unused-command-line-argument -Wno-unreachable-code-fallthrough -Wno-limited-postlink-optimizations"
9898
SHARED=""
9999
IS_SHARED=false
100-
100+
PY_MODULE=false
101101
for 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

0 commit comments

Comments
 (0)