Skip to content

Commit ea35336

Browse files
committed
3.1.64pre
1 parent faca168 commit ea35336

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# python-wasm-sdk
22
Tooling for building CPython and various packages (either third parties support or Python modules)
3-
n WebAssembly
3+
for WebAssembly
44

55

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
77
for how to use it
88

99
or use as a cross compiler, after being unpacked in /opt/python-wasm-sdk, from within
@@ -15,3 +15,7 @@ or
1515

1616
`/opt/python-wasm-sdk/python3-wasm -m build --no-isolation .`
1717

18+
or
19+
20+
`/opt/python-wasm-sdk/python3-wasm -m pip install --no-build-isolation --force .`
21+

python-wasi-sdk.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,8 @@ END
202202
${SDKROOT}/python-nim-sdk.sh
203203
fi
204204

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 -
206207
mv -vf $(find wasmtime*|grep /wasmtime$) ${WASISDK}/bin/
207208

208209
. ${SDKROOT}/scripts/pack-sdk.sh

python-wasm-sdk.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,8 @@ END
202202
${SDKROOT}/python-nim-sdk.sh
203203
fi
204204

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 -
206207
mv -vf $(find wasmtime*|grep /wasmtime$) ${WASISDK}/bin/
207208

208209
. ${SDKROOT}/scripts/pack-sdk.sh

scripts/wasisdk-fetch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pushd ${SDKROOT}
1616
wget -c https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK}/wasi-sdk-${WASI_SDK}.0-linux.tar.gz
1717
tar xfz wasi-sdk-${WASI_SDK}.0-linux.tar.gz
1818
mv wasi-sdk-${WASI_SDK}.0 upstream && rm wasi-sdk-${WASI_SDK}.0-linux.tar.gz
19-
19+
2020
ln ${SDKROOT}/wasisdk/bin/wasi ${SDKROOT}/wasisdk/bin/cc
2121
ln ${SDKROOT}/wasisdk/bin/wasi ${SDKROOT}/wasisdk/bin/wasi-c
2222
ln ${SDKROOT}/wasisdk/bin/wasi ${SDKROOT}/wasisdk/bin/wasi-cpp

0 commit comments

Comments
 (0)