web-wasi: bump to wasi-sdk 25.0

Update for their migration to the CMake build system and use of binary
sdk artifacts.
This commit is contained in:
Matt McCormick
2024-12-23 06:48:56 -05:00
parent 43b2dd1550
commit e2bc513d3f
6 changed files with 31 additions and 46 deletions

View File

@ -0,0 +1,18 @@
#!/usr/bin/env bash
set -eox pipefail
mkdir /tmp/dl
cd /tmp/dl
curl -L -O https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_VERSION}/wasi-sdk-${WASI_VERSION_FULL}-arm64-linux.deb && \
curl -L -O https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_VERSION}/wasi-sdk-${WASI_VERSION_FULL}-x86_64-linux.deb && \
case `dpkg --print-architecture` in
amd64) dpkg -i wasi-sdk-*-x86_64-linux.deb ;;
arm64) dpkg -i wasi-sdk-*-arm64-linux.deb ;;
*) exit 1 ;;
esac
cd /tmp/
rm -rf /tmp/dl