Skip to content

Commit

Permalink
RAJA package: Don't set both CUDA_ARCH and CMAKE_CUDA_FLAGS (spack#19589
Browse files Browse the repository at this point in the history
)
  • Loading branch information
davidbeckingsale authored Oct 28, 2020
1 parent f028079 commit 44bacef
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions var/spack/repos/builtin/packages/raja/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ def cmake_args(self):
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')

Expand Down

0 comments on commit 44bacef

Please sign in to comment.