build tests: put an upper bound on the version of GCC being used (#23630)

This commit is contained in:
Massimiliano Culpo 2021-05-14 09:51:03 +02:00 committed by GitHub
parent 117dfcae25
commit 9e30e669d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -42,7 +42,7 @@ jobs:
package:
- lz4 # MakefilePackage
- mpich~fortran # AutotoolsPackage
- tut # WafPackage
- 'tut%gcc@:10.99.99' # WafPackage
- py-setuptools # PythonPackage
- openjpeg # CMakePackage
- r-rcpp # RPackage

View file

@ -20,6 +20,10 @@ class Tut(WafPackage):
# https://github.com/mrzechonek/tut-framework/issues/18
depends_on('python@:3.6', type='build')
# Tut is used for smoke build tests in CI, and started failing as
# soon as gcc@11 was introduced in the environment
conflicts('%gcc@11:')
def build_args(self):
args = []