Skip to content

Commit 5f301d3

Browse files
authored
ci(rust): fix build issue on macos (#3264)
It seems that CI has started to fail as a result of macos-latest changing from macos 14 to 15. ```log [ 65%] Building CXX object driver/sqlite/CMakeFiles/adbc_driver_sqlite_objlib.dir/sqlite.cc.o /Users/runner/work/arrow-adbc/arrow-adbc/c/driver/sqlite/sqlite.cc:718:16: error: use of undeclared identifier 'sqlite3_load_extension' 718 | int rc = sqlite3_load_extension(conn_, extension_path_.c_str(), | ^ 1 error generated. make[2]: *** [driver/sqlite/CMakeFiles/adbc_driver_sqlite_objlib.dir/sqlite.cc.o] Error 1 make[1]: *** [driver/sqlite/CMakeFiles/adbc_driver_sqlite_objlib.dir/all] Error 2 make: *** [all] Error 2 ``` I don't know why this error is occurring, but it looks like it can be avoided by making a change like #1259.
1 parent d3d068e commit 5f301d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ jobs:
131131
-DADBC_DRIVER_SNOWFLAKE=ON \
132132
-DADBC_USE_ASAN=OFF \
133133
-DADBC_USE_UBSAN=OFF \
134+
-DADBC_SQLITE_COMPILE_DEFINES=-DADBC_SQLITE_WITH_NO_LOAD_EXTENSION \
134135
-DCMAKE_BUILD_TYPE=Release \
135136
-DCMAKE_INSTALL_PREFIX=../local \
136137
../c

0 commit comments

Comments
 (0)