summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatish Balay <balay@mcs.anl.gov>2020-11-04 10:28:14 -0600
committerGitHub <noreply@github.com>2020-11-04 11:28:14 -0500
commitc2b943c2096d066b0e54a4bec3ba34dad77a8fb4 (patch)
tree894a2beac5c0d305b29068d411e570477fd40288
parent44d406a1aa5f661f4a334f7e4c4861058772c65b (diff)
downloadspack-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.py2
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