Commit 0299a29 1 parent f02046f commit 0299a29 Copy full SHA for 0299a29
File tree 1 file changed +5
-2
lines changed
presto-native-execution/scripts
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ export nproc=$(getconf _NPROCESSORS_ONLN)
18
18
export CC=/opt/rh/gcc-toolset-12/root/bin/gcc
19
19
export CXX=/opt/rh/gcc-toolset-12/root/bin/g++
20
20
21
+ WGET_OPTIONS=${WGET_OPTIONS:- " " }
22
+ TAR_OPTIONS=${TAR_OPTIONS:- " -v" }
23
+
21
24
CPU_TARGET=" ${CPU_TARGET:- avx} "
22
25
SCRIPT_DIR=$( readlink -f " $( dirname " ${BASH_SOURCE[0]} " ) " )
23
26
if [ -f " ${SCRIPT_DIR} /setup-centos9.sh" ]
@@ -34,8 +37,8 @@ function install_presto_deps_from_package_managers {
34
37
}
35
38
36
39
function install_gperf {
37
- wget http://ftp.gnu.org/pub/gnu/gperf/gperf-3.1.tar.gz &&
38
- tar xvfz gperf-3.1.tar.gz &&
40
+ wget ${WGET_OPTIONS} http://ftp.gnu.org/pub/gnu/gperf/gperf-3.1.tar.gz &&
41
+ tar ${TAR_OPTIONS} -xzf gperf-3.1.tar.gz &&
39
42
cd gperf-3.1 &&
40
43
./configure --prefix=/usr/local/gperf/3_1 &&
41
44
make " -j$( nproc) " &&
You can’t perform that action at this time.
0 commit comments