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:
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+ mkdir wasi-libc
330330 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
331336 make \
332337 AR=/opt/wasi-sdk/bin/llvm-ar \
333338 NM=/opt/wasi-sdk/bin/llvm-nm \
Original file line number Diff line number Diff line change @@ -268,8 +268,13 @@ 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+ mkdir wasi-libc
272272 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
273278 make \
274279 AR=/opt/wasi-sdk/bin/llvm-ar \
275280 NM=/opt/wasi-sdk/bin/llvm-nm \
@@ -329,4 +334,4 @@ jobs:
329334 mkdir build && cd build
330335 cmake -DWASI_SYSROOT=`pwd`/../../../core/deps/wasi-libc/sysroot ..
331336 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:
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+ mkdir wasi-libc
274274 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
275280 make \
276281 AR=/opt/wasi-sdk/bin/llvm-ar \
277282 NM=/opt/wasi-sdk/bin/llvm-nm \
You can’t perform that action at this time.
0 commit comments