File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -414,10 +414,24 @@ jobs:
414414 export ARROW_CMAKE_ARGS="-DODBC_INCLUDE_DIR=$ODBC_INCLUDE_DIR"
415415 export CXXFLAGS="$CXXFLAGS -I$ODBC_INCLUDE_DIR"
416416 ci/scripts/cpp_build.sh $(pwd) $(pwd)/build
417+ - name : Setup Python
418+ uses : actions/setup-python@v6
419+ with :
420+ python-version : 3
421+ - name : Setup Archery
422+ run : python3 -m pip install -e dev/archery
417423 - name : Check ODBC Dependency
418424 run : |
419- # ODBC dependency should not include Arrow or third party libraries
420- ! otool -L $(pwd)/build/cpp/debug/libarrow_flight_sql_odbc.dylib | grep -Ei 'arrow_flight_sql\.|arrow_flight\.|arrow_compute|boost|iodbc|grpc'
425+ # ODBC dependency should not include other Arrow or third party libraries
426+ archery linking check-dependencies \
427+ --allow CoreFoundation \
428+ --allow libSystem \
429+ --allow libarrow_flight_sql_odbc \
430+ --allow libc++ \
431+ --allow libiconv \
432+ --allow libresolv \
433+ --allow libz \
434+ "$(pwd)/build/cpp/debug/libarrow_flight_sql_odbc.dylib"
421435 - name : Register Flight SQL ODBC Driver
422436 run : |
423437 sudo cpp/src/arrow/flight/sql/odbc/install/mac/install_odbc.sh $(pwd)/build/cpp/debug/libarrow_flight_sql_odbc.dylib
You can’t perform that action at this time.
0 commit comments