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 9687247216 [VL] Fix weekly build job on Centos 7 (#9294)
9687247216 is described below

commit 9687247216c6d516e2f1aaef425e168547ba16b6
Author: PHILO-HE <[email protected]>
AuthorDate: Sun Apr 13 02:56:25 2025 +0800

    [VL] Fix weekly build job on Centos 7 (#9294)
    
    This issue was related to the recent pr #9207 which changes the script to 
use upstream Velox wget_and_untar function.
---
 ep/build-velox/src/setup-centos7.sh | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/ep/build-velox/src/setup-centos7.sh 
b/ep/build-velox/src/setup-centos7.sh
index 83a149235a..8acb1f695a 100755
--- a/ep/build-velox/src/setup-centos7.sh
+++ b/ep/build-velox/src/setup-centos7.sh
@@ -73,10 +73,11 @@ function install_folly {
 
 function install_conda {
   cd "${DEPENDENCY_DIR}"
-  mkdir -p conda && cd conda
+  mkdir -p conda && pushd conda
   wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
   MINICONDA_PATH=/opt/miniconda-for-velox
   bash Miniconda3-latest-Linux-x86_64.sh -b -u $MINICONDA_PATH
+  popd
 }
 
 function install_openssl {
@@ -110,7 +111,7 @@ function install_snappy {
 function install_dwarf {
   cd "${DEPENDENCY_DIR}"
   wget_and_untar 
https://github.com/davea42/libdwarf-code/archive/refs/tags/20210528.tar.gz dwarf
-  cd dwarf
+  pushd dwarf
   #local 
URL=https://github.com/davea42/libdwarf-code/releases/download/v0.5.0/libdwarf-0.5.0.tar.xz
   #local DIR=dwarf
   #mkdir -p "${DIR}"
@@ -121,6 +122,7 @@ function install_dwarf {
   make
   make check
   $SUDO make install
+  popd
 }
 
 function install_re2 {
@@ -180,11 +182,10 @@ function install_gtest {
 }
 
 function install_fmt {
+  wget_and_untar https://github.com/fmtlib/fmt/archive/10.1.1.tar.gz fmt
   rm -rf /usr/local/lib64/libfmt.a
   rm -rf /usr/local/lib64/cmake/fmt
   rm -rf  /usr/local/include/fmt
-  rm -rf fmt
-  wget_and_untar https://github.com/fmtlib/fmt/archive/10.1.1.tar.gz fmt
   cmake_install fmt -DFMT_TEST=OFF
 }
 


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

Reply via email to