From e6e1825b32c7a6039cc89d23dd036ea514ae489a Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Sat, 14 Jan 2023 17:28:31 -0500 Subject: [PATCH] web-wasi: Bump to wask-sdk-19 --- web-wasi/Dockerfile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web-wasi/Dockerfile.in b/web-wasi/Dockerfile.in index 64aea16..8f06626 100644 --- a/web-wasi/Dockerfile.in +++ b/web-wasi/Dockerfile.in @@ -3,7 +3,7 @@ FROM ${ORG}/base:latest LABEL maintainer="Matt McCormick matt.mccormick@kitware.com" -ENV WASI_VERSION 17 +ENV WASI_VERSION 19 ENV WASI_VERSION_FULL ${WASI_VERSION}.0 RUN cd /usr/ && \ curl -L -O https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_VERSION}/wasi-sdk-${WASI_VERSION_FULL}-linux.tar.gz && \ @@ -34,7 +34,7 @@ RUN cd /usr/ && \ curl -L -O https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_VERSION}/libclang_rt.builtins-wasm32-wasi-${WASI_VERSION_FULL}.tar.gz && \ tar xvzf libclang_rt.builtins-wasm32-wasi-${WASI_VERSION_FULL}.tar.gz && \ rm libclang_rt.builtins-wasm32-wasi-${WASI_VERSION_FULL}.tar.gz && \ - cp -a /usr/lib/wasi/* $(echo /usr/lib/llvm-${LLVM_VERSION}/lib/clang/${LLVM_VERSION}.*)/lib/wasi/ + ln -s /usr/lib/wasi/ $(echo /usr/lib/llvm-${LLVM_VERSION}/lib/clang/${LLVM_VERSION}.*)/lib/wasi COPY clang-wasi-sysroot.sh clang++-wasi-sysroot.sh /usr/local/bin/