diff options
author | Richard Berger <rberger@lanl.gov> | 2022-03-28 17:30:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-28 15:30:44 -0600 |
commit | 00469d84e76e65b72b9b9787fb9aa573947ce0f2 (patch) | |
tree | b62612b80b516783c3145fcb51e81a4a770c0642 /var | |
parent | 1c2fff2cb72f7e32287f03ecbed6e918c674329b (diff) | |
download | spack-00469d84e76e65b72b9b9787fb9aa573947ce0f2.tar.gz spack-00469d84e76e65b72b9b9787fb9aa573947ce0f2.tar.bz2 spack-00469d84e76e65b72b9b9787fb9aa573947ce0f2.tar.xz spack-00469d84e76e65b72b9b9787fb9aa573947ce0f2.zip |
spiner: fix +cuda (#29758)
Diffstat (limited to 'var')
-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 |