Skip to content

Commit a5f95e7

Browse files
code fix
1 parent 31233c3 commit a5f95e7

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

scripts/setup-common.sh

+7
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,13 @@ function install_re2 {
106106
cmake_install_dir re2 -DRE2_BUILD_TESTING=OFF
107107
}
108108

109+
function install_gflags {
110+
# Remove an older version if present.
111+
dnf remove -y gflags
112+
wget_and_untar https://github.com/gflags/gflags/archive/${GFLAGS_VERSION}.tar.gz gflags
113+
cmake_install_dir gflags -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=ON -DBUILD_gflags_LIB=ON -DLIB_SUFFIX=64
114+
}
115+
109116
function install_glog {
110117
wget_and_untar https://github.com/google/glog/archive/${GLOG_VERSION}.tar.gz glog
111118
cmake_install_dir glog -DBUILD_SHARED_LIBS=ON

scripts/setup-versions.sh

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ CPR_VERSION="1.10.5"
3333
DOUBLE_CONVERSION_VERSION="v3.1.5"
3434
RANGE_V3_VERSION="0.12.0"
3535
RE2_VERSION="2022-02-01"
36+
GFLAGS_VERSION="v2.2.2"
3637
GLOG_VERSION="v0.6.0"
3738
LZO_VERSION="2.10"
3839
SNAPPY_VERSION="1.1.8"

0 commit comments

Comments
 (0)