Skip to content

Commit d6a8830

Browse files
authored
Copy wasi-sdk to Clang's resource dir dynamically (#18231)
See commit: llvm/llvm-project@e1b88c8.
1 parent 8829cc3 commit d6a8830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ commands:
9797
echo "WASM_ENGINES = []" >> .emscripten
9898
test -f ~/vms/wasmtime && echo "WASMTIME = os.path.expanduser(os.path.join('~', 'vms', 'wasmtime')) ; WASM_ENGINES.append(WASMTIME)" >> .emscripten || true
9999
test -f ~/vms/wasmer && echo "WASMER = os.path.expanduser(os.path.join('~', 'vms', 'wasmer')) ; WASM_ENGINES.append(WASMER)" >> .emscripten || true
100-
test -d ~/wasi-sdk && cp -a ~/wasi-sdk/lib/ ~/emsdk/upstream/lib/clang/16.0.0/
100+
test -d ~/wasi-sdk && cp -a ~/wasi-sdk/lib/ $(~/emsdk/upstream/bin/clang -print-resource-dir)
101101
cd -
102102
echo "final .emscripten:"
103103
cat ~/emsdk/.emscripten

0 commit comments

Comments
 (0)