Skip to content

Commit

Permalink
fix lz4 output to file
Browse files Browse the repository at this point in the history
  • Loading branch information
pmp-p committed Jun 13, 2022
1 parent 0f8bd87 commit f90a96b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions python-wasm-sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ then
${SDKDIR}/emsdk \
${SDKDIR}/devices/* \
${SDKDIR}/prebuilt/* \
> /tmp/sdk/python-wasm-sdk-${CIVER:-ubuntu-latest}.tar
lz4 /tmp/sdk/python-wasm-sdk-${CIVER:-ubuntu-latest}.tar
> /tmp/sdk/python-wasm-sdk-${CIVER:-ubuntu-latest}.tar
lz4 -c --favor-decSpeed --best /tmp/sdk/python-wasm-sdk-${CIVER:-ubuntu-latest}.tar \
> /tmp/sdk/python-wasm-sdk-${CIVER:-ubuntu-latest}.lz4
# bzip2 will remove original
bzip2 /tmp/sdk/python-wasm-sdk-${CIVER:-ubuntu-latest}.tar
bzip2 -9 /tmp/sdk/python-wasm-sdk-${CIVER:-ubuntu-latest}.tar
else
echo " cpython-build-emsdk-deps failed"
exit 2
Expand Down

0 comments on commit f90a96b

Please sign in to comment.