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

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


The following commit(s) were added to refs/heads/branch-1.2 by this push:
     new 25f40d455 [GLUTEN-6394][VL] Branch-1.2: Port #6395 Fix the vcpkg 
package script (#6576)
25f40d455 is described below

commit 25f40d455c7ae50fe1be0c340ec7066b8416ca2f
Author: Xiuli Wei <[email protected]>
AuthorDate: Thu Jul 25 11:24:27 2024 +0800

    [GLUTEN-6394][VL] Branch-1.2: Port #6395 Fix the vcpkg package script 
(#6576)
---
 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