Trilinos: fix error when configuring downstream dependency

This commit is contained in:
Satish Balay
2020-11-04 10:28:14 -06:00
committed by GitHub
parent 44d406a1aa
commit c2b943c209

View File

@@ -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