Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE committed Jul 23, 2024
1 parent 50ed534 commit 64d524a
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions dev/builddeps-veloxbe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@ fi

OS=`uname -s`
ARCH=`uname -m`
DEPENDENCY_DIR=${DEPENDENCY_DIR:-$CURRENT_DIR/../ep/_ep}
mkdir -p ${DEPENDENCY_DIR}

source $GLUTEN_DIR/dev/build_helper_functions.sh
if [ -z "${GLUTEN_VCPKG_ENABLED:-}" ] && [ $RUN_SETUP_SCRIPT == "ON" ]; then
echo "Start to install dependencies"
Expand All @@ -244,23 +247,23 @@ if [ -z "${GLUTEN_VCPKG_ENABLED:-}" ] && [ $RUN_SETUP_SCRIPT == "ON" ]; then
echo "Unsupported kernel: $OS"
exit 1
fi
if [ $ENABLE_HDFS == "ON" ]; then
pushd $VELOX_HOME
install_libhdfs3
popd
fi
if [ $ENABLE_S3 == "ON" ]; then
${VELOX_HOME}/scripts/setup-adapters.sh aws
fi
if [ $ENABLE_GCS == "ON" ]; then
${VELOX_HOME}/scripts/setup-adapters.sh gcs
fi
if [ $ENABLE_ABFS == "ON" ]; then
export AZURE_SDK_DISABLE_AUTO_VCPKG=ON
${VELOX_HOME}/scripts/setup-adapters.sh abfs
fi
popd
fi
if [ $ENABLE_HDFS == "ON" ]; then
pushd $VELOX_HOME
install_libhdfs3
popd
fi
if [ $ENABLE_S3 == "ON" ]; then
${VELOX_HOME}/scripts/setup-adapters.sh aws
fi
if [ $ENABLE_GCS == "ON" ]; then
${VELOX_HOME}/scripts/setup-adapters.sh gcs
fi
if [ $ENABLE_ABFS == "ON" ]; then
export AZURE_SDK_DISABLE_AUTO_VCPKG=ON
${VELOX_HOME}/scripts/setup-adapters.sh abfs
fi

commands_to_run=${OTHER_ARGUMENTS:-}
(
Expand Down

0 comments on commit 64d524a

Please sign in to comment.