summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJim Eliot <benjaminjeliot@gmail.com>2017-06-21 12:38:27 +0100
committerAdam J. Stewart <ajstewart426@gmail.com>2017-06-21 06:38:27 -0500
commit7c0a759a26a877ea885fee3ce4ab1cde55526619 (patch)
tree82c40f098f86ed1ba6e9e579ab899ca06d06faf5 /var
parent0fe9cb5d1c145cb219c5c7acd39bf0a3142e922b (diff)
downloadspack-7c0a759a26a877ea885fee3ce4ab1cde55526619.tar.gz
spack-7c0a759a26a877ea885fee3ce4ab1cde55526619.tar.bz2
spack-7c0a759a26a877ea885fee3ce4ab1cde55526619.tar.xz
spack-7c0a759a26a877ea885fee3ce4ab1cde55526619.zip
Fix for SAMRAI build debug spec bug (#4564) (#4565)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/samrai/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/samrai/package.py b/var/spack/repos/builtin/packages/samrai/package.py
index c9bb34d547..5100d71583 100644
--- a/var/spack/repos/builtin/packages/samrai/package.py
+++ b/var/spack/repos/builtin/packages/samrai/package.py
@@ -81,7 +81,7 @@ class Samrai(AutotoolsPackage):
'--with-hypre=no',
'--with-petsc=no'])
- if '+debug' in spec:
+ if '+debug' in self.spec:
options.extend([
'--disable-opt',
'--enable-debug'])