summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-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