Skip to content

Commit 25f40d4

Browse files
authored
[GLUTEN-6394][VL] Branch-1.2: Port #6395 Fix the vcpkg package script (#6576)
1 parent 6a061ae commit 25f40d4

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

dev/package-vcpkg.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@ CURRENT_DIR=$(cd "$(dirname "$BASH_SOURCE")"; pwd)
66
GLUTEN_DIR="$CURRENT_DIR/.."
77

88
cd "$GLUTEN_DIR"
9-
source /opt/rh/devtoolset-9/enable
10-
source /opt/gluten/dev/vcpkg/env.sh
9+
if [ "$LINUX_OS" == "centos" ]; then
10+
if [ "$VERSION" == "8" ]; then
11+
source /opt/rh/gcc-toolset-9/enable
12+
elif [ "$VERSION" == "7" ]; then
13+
source /opt/rh/devtoolset-9/enable
14+
fi
15+
fi
16+
source ./dev/vcpkg/env.sh
1117
./dev/buildbundle-veloxbe.sh --build_tests=ON --build_benchmarks=ON --enable_s3=ON --enable_hdfs=ON
1218
mvn clean package -Pbackends-velox -Pceleborn -Puniffle -Pspark-3.2 -DskipTests
1319
mvn clean package -Pbackends-velox -Pceleborn -Puniffle -Pspark-3.3 -DskipTests

0 commit comments

Comments
 (0)