Create a tarball of the clang-rt builtins in tar_from_installation.sh

These builtins are required to use WASI with an existing clang
installation.
pull/23/head
Frank Denis 6 years ago
parent 6aa39c8054
commit e07b7df73d

@ -19,4 +19,6 @@ esac
rm -rf $PKGDIR
mkdir -p $PKGDIR/opt
cp -R /opt/wasi-sdk $PKGDIR/opt/
cd build && tar czf wasi-sdk-$VERSION\-$MACHINE.tar.gz wasi-sdk-$VERSION
cd build &&
tar czf wasi-sdk-$VERSION\-$MACHINE.tar.gz wasi-sdk-$VERSION &&
tar cz -C compiler-rt -f libclang_rt.builtins-wasm32-wasi-$VERSION.tar.gz lib/wasi

Loading…
Cancel
Save