mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-21 02:13:34 +02:00
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:
18
web-wasi/download-install-wasi-sdk.sh
Executable file
18
web-wasi/download-install-wasi-sdk.sh
Executable 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
|
Reference in New Issue
Block a user