Skip to content

Commit

Permalink
Update to wasi-sdk 17 (envoyproxy#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraaga authored Dec 7, 2022
1 parent bd4b778 commit 25cd63a
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions buildtools/wasi-sdk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ RUN curl -sS https://apt.llvm.org/llvm-snapshot.gpg.key | gpg --dearmor > /etc/a

RUN apt-get update && apt-get install -y clang-15 lld-15

ADD https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-16/wasi-sysroot-16.0.tar.gz /
RUN tar -xf wasi-sysroot-16.0.tar.gz
ADD https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-17/wasi-sysroot-17.0.tar.gz /
RUN tar -xf wasi-sysroot-17.0.tar.gz

ADD https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-16/libclang_rt.builtins-wasm32-wasi-16.0.tar.gz /
ADD https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-17/libclang_rt.builtins-wasm32-wasi-17.0.tar.gz /
# APT repository and package only include major version but the directory includes a patch version.
# We use a wildcard to make this compatible for any patch version.
RUN tar -xf libclang_rt.builtins-wasm32-wasi-16.0.tar.gz -C /usr/lib/llvm-15/lib/clang/15.*/
RUN tar -xf libclang_rt.builtins-wasm32-wasi-17.0.tar.gz -C /usr/lib/llvm-15/lib/clang/15.*/

ENV CC clang-15
ENV CXX clang++-15
Expand Down
Binary file modified lib/libcre2.a
Binary file not shown.
Binary file modified lib/libgc.a
Binary file not shown.
Binary file modified lib/libinjection.a
Binary file not shown.
Binary file modified lib/libmimalloc.a
Binary file not shown.
Binary file modified lib/libre2.a
Binary file not shown.

0 comments on commit 25cd63a

Please sign in to comment.