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
25
25
26
26
# make wheels
27
27
# /opt/python-wasm-sdk/python3-wasm setup.py bdist_wheel
28
+
28
29
$PIP install wheel
30
+
31
+
29
32
# cython
33
+ $HPY -m pip install build/$CYTHON_WHL
30
34
$PIP install build/$CYTHON_WHL
31
35
32
36
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ unset PYTHONPATH
97
97
COMMON="-Wno-unused-command-line-argument -Wno-unreachable-code-fallthrough -Wno-limited-postlink-optimizations"
98
98
SHARED=""
99
99
IS_SHARED=false
100
-
100
+ PY_MODULE=false
101
101
for arg do
102
102
shift
103
103
@@ -126,6 +126,16 @@ for arg do
126
126
fi
127
127
128
128
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
129
139
then
130
140
SHARED_TARGET=\$ arg
131
141
if \$ IS_SHARED
You can’t perform that action at this time.
0 commit comments