dealii: fix default of cuda_arch (#10690)
This commit is contained in:
parent
b43e8fcaa7
commit
2851b3f57c
@ -276,7 +276,7 @@ def cmake_args(self):
|
||||
if not spec.satisfies('^cuda@9:'):
|
||||
options.append('-DDEAL_II_WITH_CXX14=OFF')
|
||||
cuda_arch = spec.variants['cuda_arch'].value
|
||||
if cuda_arch is not None and cuda_arch[0] is not '':
|
||||
if cuda_arch != 'none':
|
||||
if len(cuda_arch) > 1:
|
||||
raise InstallError(
|
||||
'deal.II only supports compilation for a single GPU!'
|
||||
|
Loading…
Reference in New Issue
Block a user