diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/vtk-m/package.py | 3 |
1 files changed, 3 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 5eb7a68cdb..ca914fd662 100644 --- a/var/spack/repos/builtin/packages/vtk-m/package.py +++ b/var/spack/repos/builtin/packages/vtk-m/package.py @@ -89,6 +89,9 @@ class VtkM(CMakePackage, CudaPackage): conflicts("+hip", when="+cuda") + conflicts("+cuda", when="cuda_arch=none", + msg="vtk-m +cuda requires that cuda_arch be set") + def cmake_args(self): spec = self.spec options = [] |