From 44bacefb27675aaed22d77c768fb18a627e678eb Mon Sep 17 00:00:00 2001 From: David Beckingsale Date: Wed, 28 Oct 2020 16:54:23 -0700 Subject: [PATCH] RAJA package: Don't set both CUDA_ARCH and CMAKE_CUDA_FLAGS (#19589) --- var/spack/repos/builtin/packages/raja/package.py | 2 -- 1 file changed, 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 @@ 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')