You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bn...@apache.org on 2022/02/21 19:01:09 UTC

[trafficserver-ci] branch main updated: add gcc-toolset-11 support for environment

This is an automated email from the ASF dual-hosted git repository.

bnolsen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git


The following commit(s) were added to refs/heads/main by this push:
     new 2940c09  add gcc-toolset-11 support for environment
     new 6f032ed  Merge pull request #79 from traeak/gcc-toolset-11
2940c09 is described below

commit 2940c09e3718b4b1301d43a7371fd2a8a91fcc0d
Author: Brian Olsen <bn...@gmail.com>
AuthorDate: Mon Feb 21 19:00:15 2022 +0000

    add gcc-toolset-11 support for environment
---
 jenkins/bin/environment.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/jenkins/bin/environment.sh b/jenkins/bin/environment.sh
index 2f9f09e..491e6f2 100755
--- a/jenkins/bin/environment.sh
+++ b/jenkins/bin/environment.sh
@@ -106,6 +106,10 @@ else
         # This changes the path such that gcc / g++ is the right version. This is for CentOS 6 / 7.
         source /opt/rh/devtoolset-9/enable
         echo "Enabling devtoolset-9"
+    elif test -f "/opt/rh/gcc-toolset-11/enable"; then
+        # This changes the path such that gcc / g++ is the right version. This is for Rockylinux 8
+        source /opt/rh/gcc-toolset-11/enable
+        echo "Enabling gcc-toolset-11"
     elif test -x "/usr/bin/g++-9"; then
         # This is for Debian platforms
         export CC=/usr/bin/gcc-9