Skip to content

Commit

Permalink
[GLUTEN-6394][VL] Branch-1.2: Port #6395 Fix the vcpkg package script (
Browse files Browse the repository at this point in the history
  • Loading branch information
weixiuli authored Jul 25, 2024
1 parent 6a061ae commit 25f40d4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions dev/package-vcpkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,14 @@ CURRENT_DIR=$(cd "$(dirname "$BASH_SOURCE")"; pwd)
GLUTEN_DIR="$CURRENT_DIR/.."

cd "$GLUTEN_DIR"
source /opt/rh/devtoolset-9/enable
source /opt/gluten/dev/vcpkg/env.sh
if [ "$LINUX_OS" == "centos" ]; then
if [ "$VERSION" == "8" ]; then
source /opt/rh/gcc-toolset-9/enable
elif [ "$VERSION" == "7" ]; then
source /opt/rh/devtoolset-9/enable
fi
fi
source ./dev/vcpkg/env.sh
./dev/buildbundle-veloxbe.sh --build_tests=ON --build_benchmarks=ON --enable_s3=ON --enable_hdfs=ON
mvn clean package -Pbackends-velox -Pceleborn -Puniffle -Pspark-3.2 -DskipTests
mvn clean package -Pbackends-velox -Pceleborn -Puniffle -Pspark-3.3 -DskipTests
Expand Down

0 comments on commit 25f40d4

Please sign in to comment.