From 0c3eae7901f3056e0805fbac96fdd910b86c3764 Mon Sep 17 00:00:00 2001 From: PHILO-HE Date: Tue, 17 Dec 2024 15:24:20 +0800 Subject: [PATCH 1/2] Initial --- scripts/setup-centos9.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setup-centos9.sh b/scripts/setup-centos9.sh index a75bbb02596d..e0f51a4d91e7 100755 --- a/scripts/setup-centos9.sh +++ b/scripts/setup-centos9.sh @@ -95,7 +95,7 @@ function install_gflags { function install_glog { wget_and_untar https://github.com/google/glog/archive/v0.6.0.tar.gz glog - cmake_install_dir glog -DBUILD_SHARED_LIBS=ON + cmake_install_dir glog -DBUILD_SHARED_LIBS="$VELOX_BUILD_SHARED" } function install_lzo { From d7419d71814446cf9c92f7215eca12b5dca2d0dc Mon Sep 17 00:00:00 2001 From: PHILO-HE Date: Tue, 17 Dec 2024 16:03:29 +0800 Subject: [PATCH 2/2] Initial --- scripts/setup-centos9.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/setup-centos9.sh b/scripts/setup-centos9.sh index e0f51a4d91e7..644f44e189ac 100755 --- a/scripts/setup-centos9.sh +++ b/scripts/setup-centos9.sh @@ -90,12 +90,12 @@ function install_gflags { # Remove an older version if present. dnf remove -y gflags wget_and_untar https://github.com/gflags/gflags/archive/v2.2.2.tar.gz gflags - cmake_install_dir gflags -DBUILD_SHARED_LIBS="$VELOX_BUILD_SHARED" -DBUILD_STATIC_LIBS=ON -DBUILD_gflags_LIB=ON -DLIB_SUFFIX=64 + cmake_install_dir gflags -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=ON -DBUILD_gflags_LIB=ON -DLIB_SUFFIX=64 } function install_glog { wget_and_untar https://github.com/google/glog/archive/v0.6.0.tar.gz glog - cmake_install_dir glog -DBUILD_SHARED_LIBS="$VELOX_BUILD_SHARED" + cmake_install_dir glog -DBUILD_SHARED_LIBS=ON } function install_lzo {