This is an automated email from the ASF dual-hosted git repository.

yuanzhou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new 747c4a412 [GLUTEN-6394][VL] Fix the vcpkg package script (#6395)
747c4a412 is described below

commit 747c4a412f74090fda649aa0a1ba1f7c67b90f6a
Author: Xiuli Wei <[email protected]>
AuthorDate: Thu Jul 11 09:29:50 2024 +0800

    [GLUTEN-6394][VL] Fix the vcpkg package script (#6395)
---
 dev/package-vcpkg.sh | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev/package-vcpkg.sh b/dev/package-vcpkg.sh
index 4a248b556..c76b8be8d 100755
--- a/dev/package-vcpkg.sh
+++ b/dev/package-vcpkg.sh
@@ -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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to