Skip to content

Commit 5a0d208

Browse files
authored
Merge pull request #9 from powersync-ja/update-powersync-sqlite-core-0.3.0
powersync-sqlite-core 0.3.0
2 parents f7fbca0 + 6fbd49b commit 5a0d208

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/actions/build-wasm/action.yml

+4-4
Original file line numberDiff line numberDiff 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
@@ -32,7 +32,7 @@ runs:
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
@@ -43,5 +43,5 @@ runs:
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

sqlite3/assets/wasm/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ add_custom_target(
7474
)
7575

7676
base_sqlite3_target(sqlite3_debug)
77-
file(DOWNLOAD https://raw.githubusercontent.com/sqlite/sqlite/master/src/test_vfstrace.c "${CMAKE_BINARY_DIR}/vfstrace.c")
77+
file(DOWNLOAD https://raw.githubusercontent.com/sqlite/sqlite/version-3.44.0/src/test_vfstrace.c "${CMAKE_BINARY_DIR}/vfstrace.c")
7878
target_sources(sqlite3_debug PRIVATE "${CMAKE_BINARY_DIR}/vfstrace.c")
7979
target_compile_options(sqlite3_debug PRIVATE -g)
8080
target_compile_definitions(sqlite3_debug PRIVATE SQLITE_ENABLE_VFSTRACE SQLITE_ENABLE_API_ARMOR)

0 commit comments

Comments
 (0)