diff --git a/dev/build_arrow.sh b/dev/build_arrow.sh index c8ca2ee9d4bf0..897dfcd267a13 100755 --- a/dev/build_arrow.sh +++ b/dev/build_arrow.sh @@ -17,13 +17,13 @@ CURRENT_DIR=$(cd "$(dirname "$BASH_SOURCE")"; pwd) source ${CURRENT_DIR}/build_helper_functions.sh VELOX_ARROW_BUILD_VERSION=15.0.0 -ARROW_PREFIX=$CURRENT_DIR/arrow_ep +ARROW_PREFIX=$CURRENT_DIR/../ep/_ep/arrow_ep BUILD_TYPE=Release function prepare_arrow_build() { - sudo rm -rf arrow_ep/ + mkdir -p ${ARROW_PREFIX}/../ && cd ${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 - cd arrow_ep/ + cd arrow_ep patch -p1 < $CURRENT_DIR/../ep/build-velox/src/modify_arrow.patch patch -p1 < $CURRENT_DIR/../ep/build-velox/src/modify_arrow_dataset_scan_option.patch }