This is an automated email from the ASF dual-hosted git repository.
philo 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 304fb27671 [VL] Replace wget with wget_and_untar to make dependency
download more reliable (#9444)
304fb27671 is described below
commit 304fb27671b12a99ba2ecd76128a3b44658dbdac
Author: Kent Yao <[email protected]>
AuthorDate: Tue Apr 29 00:12:58 2025 +0800
[VL] Replace wget with wget_and_untar to make dependency download more
reliable (#9444)
---
ep/build-velox/src/setup-centos7.sh | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/ep/build-velox/src/setup-centos7.sh
b/ep/build-velox/src/setup-centos7.sh
index 8acb1f695a..f73af6dadf 100755
--- a/ep/build-velox/src/setup-centos7.sh
+++ b/ep/build-velox/src/setup-centos7.sh
@@ -163,22 +163,22 @@ function install_boost {
function install_protobuf {
cd "${DEPENDENCY_DIR}"
- wget
https://github.com/protocolbuffers/protobuf/releases/download/v21.4/protobuf-all-21.4.tar.gz
- tar -xzf protobuf-all-21.4.tar.gz
- cd protobuf-21.4
+ wget_and_untar
https://github.com/protocolbuffers/protobuf/releases/download/v21.4/protobuf-all-21.4.tar.gz
protobuf
+ pushd protobuf
./configure CXXFLAGS="-fPIC" --prefix=/usr/local
make "-j$(nproc)"
$SUDO make install
+ popd
}
function install_gtest {
cd "${DEPENDENCY_DIR}"
- wget
https://github.com/google/googletest/archive/refs/tags/release-1.12.1.tar.gz
- tar -xzf release-1.12.1.tar.gz
- cd googletest-release-1.12.1
+ wget_and_untar
https://github.com/google/googletest/archive/refs/tags/release-1.12.1.tar.gz
googletest
+ pushd googletest
mkdir -p build && cd build && cmake -DBUILD_GTEST=ON -DBUILD_GMOCK=ON
-DINSTALL_GTEST=ON -DINSTALL_GMOCK=ON -DBUILD_SHARED_LIBS=ON ..
make "-j$(nproc)"
$SUDO make install
+ popd
}
function install_fmt {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]