Skip to content

Commit f90a96b

Browse files
committed
fix lz4 output to file
1 parent 0f8bd87 commit f90a96b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

python-wasm-sdk.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,11 @@ then
4646
${SDKDIR}/emsdk \
4747
${SDKDIR}/devices/* \
4848
${SDKDIR}/prebuilt/* \
49-
> /tmp/sdk/python-wasm-sdk-${CIVER:-ubuntu-latest}.tar
50-
lz4 /tmp/sdk/python-wasm-sdk-${CIVER:-ubuntu-latest}.tar
49+
> /tmp/sdk/python-wasm-sdk-${CIVER:-ubuntu-latest}.tar
50+
lz4 -c --favor-decSpeed --best /tmp/sdk/python-wasm-sdk-${CIVER:-ubuntu-latest}.tar \
51+
> /tmp/sdk/python-wasm-sdk-${CIVER:-ubuntu-latest}.lz4
5152
# bzip2 will remove original
52-
bzip2 /tmp/sdk/python-wasm-sdk-${CIVER:-ubuntu-latest}.tar
53+
bzip2 -9 /tmp/sdk/python-wasm-sdk-${CIVER:-ubuntu-latest}.tar
5354
else
5455
echo " cpython-build-emsdk-deps failed"
5556
exit 2

0 commit comments

Comments
 (0)