Skip to content

Commit

Permalink
update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
binwei committed Aug 27, 2024
1 parent 3a42bb2 commit e7a5144
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
12 changes: 2 additions & 10 deletions dev/buildbundle-veloxbe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,9 @@ source "$BASEDIR/builddeps-veloxbe.sh"

function build_for_spark {
spark_version=$1
mvn clean package -Pbackends-velox -Pceleborn -Puniffle -Pspark-$spark_version -DskipTests
mvn clean package -Pbackends-velox -Pceleborn -Puniffle -Pspark-$spark_version -DskipTests -Dcheckstyle.skip=true -DskipScalastyle=true
}

cd $GLUTEN_DIR

# SPARK_VERSION is defined in builddeps-veloxbe.sh
if [ "$SPARK_VERSION" = "ALL" ]; then
for spark_version in 3.2 3.3 3.4 3.5
do
build_for_spark $spark_version
done
else
build_for_spark $SPARK_VERSION
fi
build_for_spark 3.2
11 changes: 8 additions & 3 deletions dev/builddeps-veloxbe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
####################################################################################################
set -exu

export CFLAGS=" -g "
export CXXFLAGS=" -g "


CURRENT_DIR=$(cd "$(dirname "$BASH_SOURCE")"; pwd)
GLUTEN_DIR="$CURRENT_DIR/.."
BUILD_TYPE=Release
Expand All @@ -20,11 +24,12 @@ ENABLE_QAT=OFF
ENABLE_IAA=OFF
ENABLE_HBM=OFF
ENABLE_GCS=OFF
ENABLE_S3=OFF
ENABLE_S3=ON
ENABLE_HDFS=OFF
ENABLE_ABFS=OFF
ENABLE_EP_CACHE=OFF
ENABLE_VCPKG=OFF
ENABLE_EP_CACHE=ON
ARROW_ENABLE_CUSTOM_CODEC=OFF
ENABLE_VCPKG=ON
RUN_SETUP_SCRIPT=ON
VELOX_REPO=""
VELOX_BRANCH=""
Expand Down

0 comments on commit e7a5144

Please sign in to comment.