summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")