Skip to content

Commit 5225b05

Browse files
authored
Create standalone archive of the wasi sysroot (WebAssembly#77)
Fixes: WebAssembly#69
1 parent a944460 commit 5225b05

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tar_from_installation.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,9 @@ rm -rf $PKGDIR
2020
cp -R /opt/wasi-sdk $PKGDIR
2121
cd build
2222
tar czf wasi-sdk-$VERSION\-$MACHINE.tar.gz wasi-sdk-$VERSION
23+
24+
# As well as the full SDK package, also create archives of libclang_rt.builtins
25+
# and the sysroot. These are made available for users who have an existing clang
26+
# installation.
2327
tar czf libclang_rt.builtins-wasm32-wasi-$VERSION.tar.gz -C compiler-rt lib/wasi
28+
tar czf wasi-sysroot-$VERSION.tar.gz -C wasi-sdk-$VERSION/share wasi-sysroot

0 commit comments

Comments
 (0)