mirror of
https://github.com/langchain-ai/datafusion.git
synced 2026-07-19 23:35:20 -04:00
ARROW-8373: [CI][GLib] Find gio-2.0 manually on macOS
Because "pkg-config --cflags gio-2.0" includes the "-I$(xcrun --show-sdk-path)/usr/include" flag by zlib.pc. The include path includes the standard C headers such as stdlib.h. It confuses clang++ (/usr/bin/c++). This also removes needless gio-2.0 dependency from arrow-glib.pc. Closes #6886 from kou/ci-glib-macos Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Neal Richardson <neal.p.richardson@gmail.com>
This commit is contained in:
committed by
Neal Richardson
parent
a2fb57324b
commit
b6547244ec
@@ -26,12 +26,6 @@ build_dir=${2}/c_glib
|
||||
|
||||
export PKG_CONFIG_PATH=${ARROW_HOME}/lib/pkgconfig
|
||||
|
||||
if which brew > /dev/null 2>&1; then
|
||||
export $(echo env | brew sh | grep "^HOMEBREW_SDKROOT=")
|
||||
export $(echo env | brew sh | grep "^PKG_CONFIG=")
|
||||
PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:$(echo 'echo $PKG_CONFIG_LIBDIR' | brew sh)
|
||||
fi
|
||||
|
||||
export CFLAGS="-DARROW_NO_DEPRECATED_API"
|
||||
export CXXFLAGS="-DARROW_NO_DEPRECATED_API"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user