Skip to content

Commit

Permalink
Try fixes suggested by πŸ€–πŸ€–πŸ€–
Browse files Browse the repository at this point in the history
  • Loading branch information
JCGoran committed Jul 23, 2024
1 parent 05997d3 commit 7364025
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/install_redhat_centos_7.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
# Use MPICH instead of OpenMPI on CentOS7, see #51.
# This variable will be read by install_redhat.sh
mpi_lib=mpich-devel

# CentOS 7 is EOL as of 2024-06-30, so we need to use the vault
sed -i 's|mirrorlist.centos.org|vault.centos.org|g' /etc/yum.repos.d/CentOS-Base.repo
sed -i 's|#baseurl=http://vault.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Base.repo
yum clean all
yum makecache

# actually install the packages
# EPEL is needed to get CMake 3 in CentOS7
# SCL is needed to get a modern toolchain in CentOS7
yum install -y epel-release centos-release-scl centos-release-scl-rh
Expand Down

0 comments on commit 7364025

Please sign in to comment.