diff options
-rw-r--r-- | var/spack/repos/builtin/packages/spiner/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/spiner/package.py b/var/spack/repos/builtin/packages/spiner/package.py index 8eb46f6ef6..bc1d1d7572 100644 --- a/var/spack/repos/builtin/packages/spiner/package.py +++ b/var/spack/repos/builtin/packages/spiner/package.py @@ -71,7 +71,7 @@ class Spiner(CMakePackage, CudaPackage): self.define_from_variant("SPINER_USE_HDF", "hdf5") ] if '+cuda' in self.spec: - args.append(define( - 'CMAKE_CUDA_ARCHITECTURES', spec.variants['cuda_arch'].value + args.append(self.define( + 'CMAKE_CUDA_ARCHITECTURES', self.spec.variants['cuda_arch'].value )) return args |