vtk-m: add conflict with gcc version < 5.0 (#25117)

This commit is contained in:
gpotter2 2021-07-28 16:24:27 +02:00 committed by GitHub
parent 4d96f2668b
commit be2e224e75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,6 +72,9 @@ class VtkM(CMakePackage, CudaPackage):
depends_on("cmake@3.12:", type="build") # CMake >= 3.12
depends_on("cmake@3.18:", when="+hip", type="build") # CMake >= 3.18
conflicts('%gcc@:4.10',
msg='vtk-m requires gcc >= 5. Please install a newer version')
depends_on('cuda@10.1.0:', when='+cuda')
depends_on("tbb", when="+tbb")
depends_on("mpi", when="+mpi")