File tree Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -326,8 +326,13 @@ jobs:
326
326
327
327
- name : build wasi-libc (needed for wasi-threads)
328
328
run : |
329
- git clone --branch wasi-sdk-17 https://github.com/WebAssembly/ wasi-libc
329
+ mkdir wasi-libc
330
330
cd wasi-libc
331
+ git init
332
+ # "Rename thread_spawn import" commit on main branch
333
+ git fetch https://github.com/WebAssembly/wasi-libc \
334
+ 8f5275796a82f8ecfd0833a4f3f444fa37ed4546
335
+ git checkout FETCH_HEAD
331
336
make \
332
337
AR=/opt/wasi-sdk/bin/llvm-ar \
333
338
NM=/opt/wasi-sdk/bin/llvm-nm \
Original file line number Diff line number Diff line change @@ -268,8 +268,13 @@ jobs:
268
268
269
269
- name : build wasi-libc (needed for wasi-threads)
270
270
run : |
271
- git clone --branch wasi-sdk-17 https://github.com/WebAssembly/ wasi-libc
271
+ mkdir wasi-libc
272
272
cd wasi-libc
273
+ git init
274
+ # "Rename thread_spawn import" commit on main branch
275
+ git fetch https://github.com/WebAssembly/wasi-libc \
276
+ 8f5275796a82f8ecfd0833a4f3f444fa37ed4546
277
+ git checkout FETCH_HEAD
273
278
make \
274
279
AR=/opt/wasi-sdk/bin/llvm-ar \
275
280
NM=/opt/wasi-sdk/bin/llvm-nm \
@@ -329,4 +334,4 @@ jobs:
329
334
mkdir build && cd build
330
335
cmake -DWASI_SYSROOT=`pwd`/../../../core/deps/wasi-libc/sysroot ..
331
336
cmake --build . --config Release --parallel 4
332
- ./iwasm wasm-apps/no_pthread.wasm
337
+ ./iwasm wasm-apps/no_pthread.wasm
Original file line number Diff line number Diff line change @@ -270,8 +270,13 @@ jobs:
270
270
271
271
- name : build wasi-libc (needed for wasi-threads)
272
272
run : |
273
- git clone --branch wasi-sdk-17 https://github.com/WebAssembly/ wasi-libc
273
+ mkdir wasi-libc
274
274
cd wasi-libc
275
+ git init
276
+ # "Rename thread_spawn import" commit on main branch
277
+ git fetch https://github.com/WebAssembly/wasi-libc \
278
+ 8f5275796a82f8ecfd0833a4f3f444fa37ed4546
279
+ git checkout FETCH_HEAD
275
280
make \
276
281
AR=/opt/wasi-sdk/bin/llvm-ar \
277
282
NM=/opt/wasi-sdk/bin/llvm-nm \
You can’t perform that action at this time.
0 commit comments