From dca6142c9459f5d1e452ce1fef0bea8997d69dd5 Mon Sep 17 00:00:00 2001 From: binwei Date: Tue, 27 Aug 2024 07:15:02 +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 224f61bae6ec..f7483cf1c90d 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 e7496350f988..58cc1d44e244 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