File tree Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
# python-wasm-sdk
2
2
Tooling for building CPython and various packages (either third parties support or Python modules)
3
- n WebAssembly
3
+ for WebAssembly
4
4
5
5
6
- see https://github.com/pygame-community/pygame-ce/blob/main/.github/workflows/build-emsdk.yml
6
+ See https://github.com/pygame-community/pygame-ce/blob/main/.github/workflows/build-emsdk.yml
7
7
for how to use it
8
8
9
9
or use as a cross compiler, after being unpacked in /opt/python-wasm-sdk, from within
15
15
16
16
` /opt/python-wasm-sdk/python3-wasm -m build --no-isolation . `
17
17
18
+ or
19
+
20
+ ` /opt/python-wasm-sdk/python3-wasm -m pip install --no-build-isolation --force . `
21
+
Original file line number Diff line number Diff line change 202
202
${SDKROOT} /python-nim-sdk.sh
203
203
fi
204
204
205
- wget https://github.com/bytecodealliance/wasmtime/releases/download/v17.0.1/wasmtime-v17.0.1-x86_64-linux.tar.xz -O-| xzcat| tar xfv -
205
+ # wget https://github.com/bytecodealliance/wasmtime/releases/download/v17.0.1/wasmtime-v17.0.1-x86_64-linux.tar.xz -O-|xzcat|tar xfv -
206
+ wget https://github.com/bytecodealliance/wasmtime/releases/download/v22.0.0/wasmtime-v22.0.0-x86_64-linux.tar.xz -O-| xzcat| tar xfv -
206
207
mv -vf $( find wasmtime* | grep /wasmtime$) ${WASISDK} /bin/
207
208
208
209
. ${SDKROOT} /scripts/pack-sdk.sh
Original file line number Diff line number Diff line change 202
202
${SDKROOT} /python-nim-sdk.sh
203
203
fi
204
204
205
- wget https://github.com/bytecodealliance/wasmtime/releases/download/v17.0.1/wasmtime-v17.0.1-x86_64-linux.tar.xz -O-| xzcat| tar xfv -
205
+ # wget https://github.com/bytecodealliance/wasmtime/releases/download/v17.0.1/wasmtime-v17.0.1-x86_64-linux.tar.xz -O-|xzcat|tar xfv -
206
+ wget https://github.com/bytecodealliance/wasmtime/releases/download/v22.0.0/wasmtime-v22.0.0-x86_64-linux.tar.xz -O-| xzcat| tar xfv -
206
207
mv -vf $( find wasmtime* | grep /wasmtime$) ${WASISDK} /bin/
207
208
208
209
. ${SDKROOT} /scripts/pack-sdk.sh
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ pushd ${SDKROOT}
16
16
wget -c https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK} /wasi-sdk-${WASI_SDK} .0-linux.tar.gz
17
17
tar xfz wasi-sdk-${WASI_SDK} .0-linux.tar.gz
18
18
mv wasi-sdk-${WASI_SDK} .0 upstream && rm wasi-sdk-${WASI_SDK} .0-linux.tar.gz
19
-
19
+
20
20
ln ${SDKROOT} /wasisdk/bin/wasi ${SDKROOT} /wasisdk/bin/cc
21
21
ln ${SDKROOT} /wasisdk/bin/wasi ${SDKROOT} /wasisdk/bin/wasi-c
22
22
ln ${SDKROOT} /wasisdk/bin/wasi ${SDKROOT} /wasisdk/bin/wasi-cpp
You can’t perform that action at this time.
0 commit comments