diff options
author | Satish Balay <balay@mcs.anl.gov> | 2020-11-04 10:28:14 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-04 11:28:14 -0500 |
commit | c2b943c2096d066b0e54a4bec3ba34dad77a8fb4 (patch) | |
tree | 894a2beac5c0d305b29068d411e570477fd40288 | |
parent | 44d406a1aa5f661f4a334f7e4c4861058772c65b (diff) | |
download | spack-c2b943c2096d066b0e54a4bec3ba34dad77a8fb4.tar.gz spack-c2b943c2096d066b0e54a4bec3ba34dad77a8fb4.tar.bz2 spack-c2b943c2096d066b0e54a4bec3ba34dad77a8fb4.tar.xz spack-c2b943c2096d066b0e54a4bec3ba34dad77a8fb4.zip |
Trilinos: fix error when configuring downstream dependency
-rw-r--r-- | var/spack/repos/builtin/packages/trilinos/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py index a802a248c3..ff93057846 100644 --- a/var/spack/repos/builtin/packages/trilinos/package.py +++ b/var/spack/repos/builtin/packages/trilinos/package.py @@ -419,7 +419,7 @@ class Trilinos(CMakePackage, CudaPackage): 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 |