From 6f7c9e356200c92f6cbeb726917f34f66d9e174f Mon Sep 17 00:00:00 2001 From: binwei Date: Tue, 27 Aug 2024 07:13:04 +0000 Subject: [PATCH] fix arrow build --- .gitignore | 6 ++++++ dev/build_arrow.sh | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/.gitignore b/.gitignore index 224f61bae6ec2..f7483cf1c90d9 100644 --- a/.gitignore +++ b/.gitignore @@ -95,3 +95,9 @@ dist/ /cpp-ch/local-engine/Parser/*_udf !/cpp-ch/local-engine/Parser/example_udf + + +# build arrow +dev/arrow_ep/ +ep/_ep/ + diff --git a/dev/build_arrow.sh b/dev/build_arrow.sh index e7496350f988c..58cc1d44e244b 100755 --- a/dev/build_arrow.sh +++ b/dev/build_arrow.sh @@ -23,6 +23,10 @@ VELOX_ARROW_BUILD_VERSION=15.0.0 ARROW_PREFIX=$CURRENT_DIR/../ep/_ep/arrow_ep BUILD_TYPE=Release + +export CFLAGS=" -g " +export CXXFLAGS=" -g " + function prepare_arrow_build() { mkdir -p ${ARROW_PREFIX}/../ && pushd ${ARROW_PREFIX}/../ && sudo rm -rf arrow_ep/ wget_and_untar https://archive.apache.org/dist/arrow/arrow-${VELOX_ARROW_BUILD_VERSION}/apache-arrow-${VELOX_ARROW_BUILD_VERSION}.tar.gz arrow_ep