File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -78,8 +78,9 @@ build_tests=
78
78
show_help=
79
79
many_jobs=
80
80
verbose=
81
- install_path=
82
- while getopts :BSdhijtvI: param
81
+ PREFIX=" $PWD /opt/cachelib/"
82
+
83
+ while getopts :BSdhijtvp: param
83
84
do
84
85
case $param in
85
86
i) install=yes ;;
90
91
v) verbose=yes ;;
91
92
j) many_jobs=yes ;;
92
93
t) build_tests=yes ;;
93
- I) install_path= ${ OPTARG} ; install=yes ;;
94
+ p) PREFIX= $ OPTARG ;;
94
95
? ) die " unknown option. See -h for help."
95
96
esac
96
97
done
@@ -283,7 +284,6 @@ test -d cachelib || die "expected 'cachelib' directory not found in $PWD"
283
284
284
285
285
286
# After ensuring we are in the correct directory, set the installation prefix"
286
- PREFIX=${install_path:- " $PWD /opt/cachelib/" }
287
287
CMAKE_PARAMS=" $CMAKE_PARAMS -DCMAKE_INSTALL_PREFIX=$PREFIX "
288
288
CMAKE_PREFIX_PATH=" $PREFIX /lib/cmake:$PREFIX /lib64/cmake:$PREFIX /lib:$PREFIX /lib64:$PREFIX :${CMAKE_PREFIX_PATH:- } "
289
289
export CMAKE_PREFIX_PATH
Original file line number Diff line number Diff line change 5
5
echo ' Defaults env_keep += "HTTPS_PROXY https_proxy HTTP_PROXY http_proxy NO_PROXY no_proxy"' >> /etc/sudoers
6
6
./contrib/prerequisites-centos8.sh
7
7
8
- for pkg in zstd googleflags googlelog googletest sparsemap fmt folly fizz wangle fbthrift ;
8
+ for pkg in zstd googleflags googlelog googletest sparsemap fmt folly fizz wangle mvfst fbthrift ;
9
9
do
10
- sudo ./contrib/build-package.sh -j -I /opt/ " $pkg "
10
+ sudo ./contrib/build-package.sh -j -p /opt/ " $pkg "
11
11
done
12
12
You can’t perform that action at this time.
0 commit comments