Trilinos: fix error when configuring downstream dependency
This commit is contained in:
parent
44d406a1aa
commit
c2b943c209
@ -419,7 +419,7 @@ def setup_dependent_run_environment(self, env, dependent_spec):
|
||||
env.set('CUDA_LAUNCH_BLOCKING', '1')
|
||||
|
||||
def setup_dependent_package(self, module, dependent_spec):
|
||||
if '+wrapper' in spec:
|
||||
if '+wrapper' in self.spec:
|
||||
self.spec.kokkos_cxx = self.spec["kokkos-nvcc-wrapper"].kokkos_cxx
|
||||
else:
|
||||
self.spec.kokkos_cxx = spack_cxx
|
||||
|
Loading…
Reference in New Issue
Block a user