Skip to content

Commit 588c857

Browse files
committed
Move custom built wasi-sdk to version 27
1 parent 1e79741 commit 588c857

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ if (WIN32 OR ${CMAKE_SYSTEM_NAME} MATCHES "Darwin" OR ${CMAKE_SYSTEM_NAME} MATCH
122122
else()
123123
# We'll build wasi-clang this locally when we build this repo
124124
set(SHOULD_BUILD_WASICLANG ON)
125-
set(wasiclang_SOURCE_DIR "${CMAKE_SOURCE_DIR}/wasi-sdk-21-src/build/install/opt/wasi-sdk")
125+
set(wasiclang_SOURCE_DIR "${CMAKE_SOURCE_DIR}/wasi-sdk-27-src/build/install/opt/wasi-sdk")
126126
message(STATUS "Prebuilt wasi-clang does not exist for this platform, so we have to build it from scratch. Your first build may take a long time!")
127127
endif()
128128

build-wasiclang.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/sh
22

3-
if [ ! -e wasi-sdk-21-src/build/install/opt/wasi-sdk/bin/clang ]; then
4-
git clone --depth 1 https://github.com/WebAssembly/wasi-sdk.git --branch wasi-sdk-21 --single-branch wasi-sdk-21-src
5-
cd wasi-sdk-21-src
3+
if [ ! -e wasi-sdk-27-src/build/install/opt/wasi-sdk/bin/clang ]; then
4+
git clone --depth 1 https://github.com/WebAssembly/wasi-sdk.git --branch wasi-sdk-27 --single-branch wasi-sdk-27-src
5+
cd wasi-sdk-27-src
66
git submodule update --init --depth 100
77
gmake -j
88
fi

0 commit comments

Comments
 (0)