summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <junghans@lanl.gov>2020-05-29 10:17:55 -0600
committerGitHub <noreply@github.com>2020-05-29 10:17:55 -0600
commit11fc6c57915ca148a116f14cd608b1424efb6f5b (patch)
tree0a14d72ad811f9961424833764fff8145a4af5be
parentedd075a5e1031cfedde904f194e1cf79e0fc76f7 (diff)
downloadspack-11fc6c57915ca148a116f14cd608b1424efb6f5b.tar.gz
spack-11fc6c57915ca148a116f14cd608b1424efb6f5b.tar.bz2
spack-11fc6c57915ca148a116f14cd608b1424efb6f5b.tar.xz
spack-11fc6c57915ca148a116f14cd608b1424efb6f5b.zip
examinimd/miniaero: fix build with kokkos-legacy (#16867)
* examinimd/miniaero: fix build with kokkos-legacy * flake8
-rw-r--r--var/spack/repos/builtin/packages/examinimd/package.py3
-rw-r--r--var/spack/repos/builtin/packages/miniaero/package.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/examinimd/package.py b/var/spack/repos/builtin/packages/examinimd/package.py
index f93a33ea01..c8afa1c223 100644
--- a/var/spack/repos/builtin/packages/examinimd/package.py
+++ b/var/spack/repos/builtin/packages/examinimd/package.py
@@ -41,7 +41,8 @@ class Examinimd(MakefilePackage):
def build_targets(self):
targets = []
# Append Kokkos
- targets.append('KOKKOS_PATH={0}'.format(self.spec['kokkos'].prefix))
+ targets.append('KOKKOS_PATH={0}'.format(
+ self.spec['kokkos-legacy'].prefix))
# Set kokkos device
if 'openmp' in self.spec:
targets.append('KOKKOS_DEVICES=OpenMP')
diff --git a/var/spack/repos/builtin/packages/miniaero/package.py b/var/spack/repos/builtin/packages/miniaero/package.py
index a18a5bfecf..3588e87d28 100644
--- a/var/spack/repos/builtin/packages/miniaero/package.py
+++ b/var/spack/repos/builtin/packages/miniaero/package.py
@@ -26,7 +26,8 @@ class Miniaero(MakefilePackage):
targets = [
'--directory=kokkos',
'CXX=c++',
- 'KOKKOS_PATH={0}'.format(self.spec['kokkos'].prefix)
+ 'KOKKOS_PATH={0}'.format(
+ self.spec['kokkos-legacy'].prefix)
]
return targets