diff --git a/tar_from_installation.sh b/tar_from_installation.sh index 59afbe4..dc8dae5 100755 --- a/tar_from_installation.sh +++ b/tar_from_installation.sh @@ -20,4 +20,9 @@ rm -rf $PKGDIR cp -R /opt/wasi-sdk $PKGDIR cd build tar czf wasi-sdk-$VERSION\-$MACHINE.tar.gz wasi-sdk-$VERSION + +# As well as the full SDK package, also create archives of libclang_rt.builtins +# and the sysroot. These are made available for users who have an existing clang +# installation. tar czf libclang_rt.builtins-wasm32-wasi-$VERSION.tar.gz -C compiler-rt lib/wasi +tar czf wasi-sysroot-$VERSION.tar.gz -C wasi-sdk-$VERSION/share wasi-sysroot