examinimd/miniaero: fix build with kokkos-legacy (#16867)
* examinimd/miniaero: fix build with kokkos-legacy * flake8
This commit is contained in:
parent
edd075a5e1
commit
11fc6c5791
@ -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')
|
||||
|
@ -26,7 +26,8 @@ def build_targets(self):
|
||||
targets = [
|
||||
'--directory=kokkos',
|
||||
'CXX=c++',
|
||||
'KOKKOS_PATH={0}'.format(self.spec['kokkos'].prefix)
|
||||
'KOKKOS_PATH={0}'.format(
|
||||
self.spec['kokkos-legacy'].prefix)
|
||||
]
|
||||
|
||||
return targets
|
||||
|
Loading…
Reference in New Issue
Block a user