Skip to content

Commit 5238c76

Browse files
committed
Update compiler target for wasi-threads examples
The target was updated to wasm32-wasi-threads in wasi-libc (and most likely will stay like that for a while) WebAssembly/wasi-libc#381
1 parent 9cf55f9 commit 5238c76

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/compilation_on_android_ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ jobs:
326326
327327
- name: build wasi-libc (needed for wasi-threads)
328328
run: |
329-
git clone --branch wasi-sdk-17 https://github.com/WebAssembly/wasi-libc
329+
git clone https://github.com/WebAssembly/wasi-libc
330330
cd wasi-libc
331331
make \
332332
AR=/opt/wasi-sdk/bin/llvm-ar \

.github/workflows/compilation_on_macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ jobs:
268268
269269
- name: build wasi-libc (needed for wasi-threads)
270270
run: |
271-
git clone --branch wasi-sdk-17 https://github.com/WebAssembly/wasi-libc
271+
git clone https://github.com/WebAssembly/wasi-libc
272272
cd wasi-libc
273273
make \
274274
AR=/opt/wasi-sdk/bin/llvm-ar \

.github/workflows/compilation_on_sgx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ jobs:
270270
271271
- name: build wasi-libc (needed for wasi-threads)
272272
run: |
273-
git clone --branch wasi-sdk-17 https://github.com/WebAssembly/wasi-libc
273+
git clone https://github.com/WebAssembly/wasi-libc
274274
cd wasi-libc
275275
make \
276276
AR=/opt/wasi-sdk/bin/llvm-ar \

samples/wasi-threads/wasm-apps/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ endif ()
1414
set (CMAKE_SYSROOT "${WASI_SYSROOT}")
1515
set (CMAKE_C_COMPILER "${WASI_SDK_DIR}/bin/clang")
1616
set (CMAKE_ASM_COMPILER "${WASI_SDK_DIR}/bin/clang")
17-
set (CMAKE_C_COMPILER_TARGET "wasm32-wasi")
17+
set (CMAKE_C_COMPILER_TARGET "wasm32-wasi-threads")
1818

1919
function (compile_sample SOURCE_FILE)
2020
get_filename_component (FILE_NAME ${SOURCE_FILE} NAME_WLE)

0 commit comments

Comments
 (0)