vtk-m +cuda: conflicts with cuda_arch=none (#27916)

This commit is contained in:
eugeneswalker 2021-12-13 08:46:09 -08:00 committed by GitHub
parent f6802b733a
commit 26dcb0ffc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = []