From c9843816627381605372b65a9b4e7e1b67b72649 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Fri, 10 Aug 2018 23:21:19 +0300 Subject: [PATCH] Use devtoolset 7 As devtoolset 6 worked on CentOS 6, upgrading to devtoolset 7 is better as it will be supported for a longer time. --- BUILD/install_build_deps.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BUILD/install_build_deps.sh b/BUILD/install_build_deps.sh index 15cc94f04..1a89a53e5 100755 --- a/BUILD/install_build_deps.sh +++ b/BUILD/install_build_deps.sh @@ -81,11 +81,11 @@ else sudo yum -y install centos-release-scl || \ sudo yum-config-manager --enable rhui-REGION-rhel-server-rhscl - sudo yum -y install devtoolset-6-gcc-c++ - source /opt/rh/devtoolset-6/enable + sudo yum -y install devtoolset-7-gcc-c++ + source /opt/rh/devtoolset-7/enable # Enable it by default - echo "source /opt/rh/devtoolset-6/enable" >> ~/.bashrc + echo "source /opt/rh/devtoolset-7/enable" >> ~/.bashrc fi fi