summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com>2022-08-11 23:29:54 -0500
committerGitHub <noreply@github.com>2022-08-11 22:29:54 -0600
commit3c9daa3ef89eb10198a05400c349836be825b4d6 (patch)
tree88e05b50a6b638bce1b9336ece316c8bdac5cbc2
parent1913dc2da3f7b492761061a7413e9d52395f8a62 (diff)
downloadspack-3c9daa3ef89eb10198a05400c349836be825b4d6.tar.gz
spack-3c9daa3ef89eb10198a05400c349836be825b4d6.tar.bz2
spack-3c9daa3ef89eb10198a05400c349836be825b4d6.tar.xz
spack-3c9daa3ef89eb10198a05400c349836be825b4d6.zip
VTK-m: Constrain gcc compiler after 11 updates. (#32059)
-rw-r--r--var/spack/repos/builtin/packages/vtk-m/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/vtk-m/package.py b/var/spack/repos/builtin/packages/vtk-m/package.py
index 3852c5c342..589bde1531 100644
--- a/var/spack/repos/builtin/packages/vtk-m/package.py
+++ b/var/spack/repos/builtin/packages/vtk-m/package.py
@@ -85,6 +85,7 @@ class VtkM(CMakePackage, CudaPackage, ROCmPackage):
depends_on("cmake@3.18:", when="+rocm", type="build") # CMake >= 3.18
conflicts("%gcc@:4.10", msg="vtk-m requires gcc >= 5. Please install a newer version")
+ conflicts("%gcc@11:", when="@:1.7", msg="vtk-m v1.8 provides updates for gcc >= 11")
depends_on("cuda@10.1.0:", when="+cuda_native")
depends_on("tbb", when="+tbb")