summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authoreugeneswalker <38933153+eugeneswalker@users.noreply.github.com>2021-12-13 08:46:09 -0800
committerGitHub <noreply@github.com>2021-12-13 08:46:09 -0800
commit26dcb0ffc4ee3ac94aa914db8568de3468910fc1 (patch)
tree80529a5336467226fbc825c8e2a1414e4332ee8b /var
parentf6802b733a8889e73edeaa6c80d2077ee86bc490 (diff)
downloadspack-26dcb0ffc4ee3ac94aa914db8568de3468910fc1.tar.gz
spack-26dcb0ffc4ee3ac94aa914db8568de3468910fc1.tar.bz2
spack-26dcb0ffc4ee3ac94aa914db8568de3468910fc1.tar.xz
spack-26dcb0ffc4ee3ac94aa914db8568de3468910fc1.zip
vtk-m +cuda: conflicts with cuda_arch=none (#27916)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/vtk-m/package.py3
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 = []