summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-04-26 10:33:46 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-04-26 10:33:46 -0700
commit237c8436214b83783baca3f78c91d6931fa1c08f (patch)
treec5bce375b45a3e35b5d465bcbfb6dce78abb99d9
parentef0fefc506af2dcc4f3cd675d360fee1ec23ed51 (diff)
parent8a45aa41854fbc1824401662f93e08d078109f6e (diff)
downloadspack-237c8436214b83783baca3f78c91d6931fa1c08f.tar.gz
spack-237c8436214b83783baca3f78c91d6931fa1c08f.tar.bz2
spack-237c8436214b83783baca3f78c91d6931fa1c08f.tar.xz
spack-237c8436214b83783baca3f78c91d6931fa1c08f.zip
Merge pull request #837 from davydden/p4est_dependencies
p4est: add missing dependencies
-rw-r--r--var/spack/repos/builtin/packages/p4est/package.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/p4est/package.py b/var/spack/repos/builtin/packages/p4est/package.py
index 1e2969fe64..017c4e3fbf 100644
--- a/var/spack/repos/builtin/packages/p4est/package.py
+++ b/var/spack/repos/builtin/packages/p4est/package.py
@@ -7,10 +7,15 @@ class P4est(Package):
version('1.1', '37ba7f4410958cfb38a2140339dbf64f')
- # disable by default to make it work on frontend of clusters
- variant('tests', default=False, description='Run small tests')
+ # build dependencies
+ depends_on('automake')
+ depends_on('autoconf')
+ depends_on('libtool@2.4.2:')
+ # other dependencies
+ depends_on('lua') # Needed for the submodule sc
depends_on('mpi')
+ depends_on('zlib')
def install(self, spec, prefix):
options = ['--enable-mpi',
@@ -28,7 +33,5 @@ class P4est(Package):
configure('--prefix=%s' % prefix, *options)
make()
- if '+tests' in self.spec:
- make("check")
-
+ make("check")
make("install")