From f005ec016b29097d92b99a4366feef95a5d7bf23 Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Thu, 30 Apr 2020 09:09:13 -0600 Subject: [PATCH] kokkos: fix typos (#16388) --- var/spack/repos/builtin/packages/kokkos/package.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/kokkos/package.py b/var/spack/repos/builtin/packages/kokkos/package.py index eb1f0610da..d1d58fcbbd 100644 --- a/var/spack/repos/builtin/packages/kokkos/package.py +++ b/var/spack/repos/builtin/packages/kokkos/package.py @@ -213,7 +213,7 @@ def cmake_args(self): if kokkos_microarch_name: spack_microarches.append(kokkos_microarch_name) - for arch in amd_gpu_arches: + for arch in self.amd_gpu_arches: keyval = "amd_gpu_arch=%s" % arch if keyval in spec: spack_microarches.append(arch) @@ -224,7 +224,6 @@ def cmake_args(self): self.append_args("ENABLE", self.devices_values, options) self.append_args("ENABLE", self.options_values, options) self.append_args("ENABLE", self.tpls_values, options) - self.append_args("ARCH", self.arch_values, options) for tpl in self.tpls_values: var = "+%s" % tpl