diff --git a/jenkins/scripts/select-compiler.sh b/jenkins/scripts/select-compiler.sh index b90cd3339..3f41ca134 100644 --- a/jenkins/scripts/select-compiler.sh +++ b/jenkins/scripts/select-compiler.sh @@ -154,6 +154,16 @@ elif [ "$SELECT_ARCH" = "X64" ]; then . /opt/rh/devtoolset-6/enable echo "Compiler set to devtoolset-6" ;; + centos7-release-sources ) + if [ "$NODEJS_MAJOR_VERSION" -gt "15" ]; then + . /opt/rh/devtoolset-8/enable + else + . /opt/rh/devtoolset-6/enable + fi + export CC="ccache gcc" + export CXX="ccache g++" + echo "Compiler set to GCC" `$CXX -dumpversion` + ;; *ubuntu1604-*64|benchmark ) if [ "$NODEJS_MAJOR_VERSION" -gt "12" ]; then export CC="gcc-6"