diff options
author | David Beckingsale <davidbeckingsale@gmail.com> | 2020-10-28 16:54:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-28 16:54:23 -0700 |
commit | 44bacefb27675aaed22d77c768fb18a627e678eb (patch) | |
tree | 701798a4f18e5600ccb5d675c119d316f5c97f59 | |
parent | f028079564275ba1207d9df673b02220cfb49acf (diff) | |
download | spack-44bacefb27675aaed22d77c768fb18a627e678eb.tar.gz spack-44bacefb27675aaed22d77c768fb18a627e678eb.tar.bz2 spack-44bacefb27675aaed22d77c768fb18a627e678eb.tar.xz spack-44bacefb27675aaed22d77c768fb18a627e678eb.zip |
RAJA package: Don't set both CUDA_ARCH and CMAKE_CUDA_FLAGS (#19589)
-rw-r--r-- | var/spack/repos/builtin/packages/raja/package.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/raja/package.py b/var/spack/repos/builtin/packages/raja/package.py index 6f2eb9624f..f9ff3b4e00 100644 --- a/var/spack/repos/builtin/packages/raja/package.py +++ b/var/spack/repos/builtin/packages/raja/package.py @@ -51,8 +51,6 @@ class Raja(CMakePackage, CudaPackage): if not spec.satisfies('cuda_arch=none'): cuda_arch = spec.variants['cuda_arch'].value options.append('-DCUDA_ARCH=sm_{0}'.format(cuda_arch[0])) - flag = '-arch sm_{0}'.format(cuda_arch[0]) - options.append('-DCMAKE_CUDA_FLAGS:STRING={0}'.format(flag)) else: options.append('-DENABLE_CUDA=OFF') |