diff --git a/.github/workflows/linux_build_tests.yaml b/.github/workflows/linux_build_tests.yaml index 60782b84207..43b665d58ae 100644 --- a/.github/workflows/linux_build_tests.yaml +++ b/.github/workflows/linux_build_tests.yaml @@ -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 diff --git a/var/spack/repos/builtin/packages/tut/package.py b/var/spack/repos/builtin/packages/tut/package.py index 64fdc242d1a..927fda58ca5 100644 --- a/var/spack/repos/builtin/packages/tut/package.py +++ b/var/spack/repos/builtin/packages/tut/package.py @@ -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 = []