Skip to content

Commit a0e1411

Browse files
committed
use gcc 12 for real
1 parent 2b88322 commit a0e1411

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

contrib/prerequisites-centos9.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ sudo dnf install -y \
3535
gtest-devel \
3636
libsodium-static \
3737
libdwarf-static \
38+
gcc-toolset-12 \
3839
numactl-devel
3940

41+
source /opt/rh/gcc-toolset-12/enable
4042

4143
# Enable the "PowerTools" repository
4244
# CentOS Repository name for "PowerTools" is "crb" for Centos Stream 9
@@ -48,11 +50,8 @@ POWERTOOLS_REPO=crb
4850
sudo dnf --enablerepo="$POWERTOOLS_REPO" install -y \
4951
boost-static \
5052
snappy-devel \
51-
devtoolset-12 \
5253
double-conversion-devel
5354

54-
source /opt/rh/gcc-toolset-12/enable
55-
5655
#Do not install these from OS packages - they are typically outdated.
5756
#gflags-devel \
5857
#glog \

0 commit comments

Comments
 (0)