web-wasi: Bump to WASI-SDK 17

The binary linux SDK in version 17 requires a newer glibc than we have
available, so we have to use our own patched clang. This follows the
approach in:

  https://github.com/WebAssembly/wasi-sdk/pull/271
This commit is contained in:
Matt McCormick
2022-12-21 22:57:29 -05:00
parent 7a4b4c636a
commit e0dcb396b6
4 changed files with 33 additions and 7 deletions

View File

@ -1,3 +1,3 @@
#!/usr/bin/env sh
exec ${WASI_SDK_PATH}/bin/clang++ --sysroot=${WASI_SYSROOT} "$@"
exec clang++-${LLVM_VERSION} --target=wasm32-wasi --sysroot=${WASI_SYSROOT} "$@"