summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2021-05-14 09:51:03 +0200
committerGitHub <noreply@github.com>2021-05-14 07:51:03 +0000
commit9e30e669d2c48922239ee453cbfdc7fdae5d0295 (patch)
treec0b9d2a743313164c0f56c2be1024e40fd3d3013
parent117dfcae25b3d1d072a9a79302970918815a9372 (diff)
downloadspack-9e30e669d2c48922239ee453cbfdc7fdae5d0295.tar.gz
spack-9e30e669d2c48922239ee453cbfdc7fdae5d0295.tar.bz2
spack-9e30e669d2c48922239ee453cbfdc7fdae5d0295.tar.xz
spack-9e30e669d2c48922239ee453cbfdc7fdae5d0295.zip
build tests: put an upper bound on the version of GCC being used (#23630)
-rw-r--r--.github/workflows/linux_build_tests.yaml2
-rw-r--r--var/spack/repos/builtin/packages/tut/package.py4
2 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/linux_build_tests.yaml b/.github/workflows/linux_build_tests.yaml
index 60782b8420..43b665d58a 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 64fdc242d1..927fda58ca 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 = []