File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
.github/actions/build-wasm Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ runs:
1818 shell : bash
1919 run : |
2020 brew install cmake
21- brew install llvm
21+ brew install llvm@18
2222 brew install binaryen
2323 curl -sL https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-22/libclang_rt.builtins-wasm32-wasi-22.0.tar.gz | \
24- tar x -zf - -C /opt/homebrew/opt/llvm/lib/clang/18*
24+ tar x -zf - -C /opt/homebrew/opt/llvm@18 /lib/clang/18*
2525 curl -sS -L https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-22/wasi-sysroot-22.0.tar.gz | \
2626 sudo tar x -zf - -C /opt
2727 - name : Install Rust Nightly
3232 - name : Set environment variable
3333 shell : bash
3434 run : |
35- echo "/opt/homebrew/opt/llvm/bin" >> $GITHUB_PATH
35+ echo "/opt/homebrew/opt/llvm@18 /bin" >> $GITHUB_PATH
3636 - name : Flutter pub get
3737 working-directory : sqlite3
3838 shell : bash
4343 working-directory : sqlite3
4444 shell : bash
4545 run : |
46- cmake -Dwasi_sysroot=/opt/wasi-sysroot -Dclang=/opt/homebrew/opt/llvm/bin/clang -S assets/wasm -B .dart_tool/sqlite3_build --toolchain toolchain.cmake
46+ cmake -Dwasi_sysroot=/opt/wasi-sysroot -Dclang=/opt/homebrew/opt/llvm@18 /bin/clang -S assets/wasm -B .dart_tool/sqlite3_build --toolchain toolchain.cmake
4747 cmake --build .dart_tool/sqlite3_build/ -t output -j
You can’t perform that action at this time.
0 commit comments