diff options
author | Denis Davydov <davydden@gmail.com> | 2016-10-18 17:09:18 +0200 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-10-18 08:09:18 -0700 |
commit | 0e59ade030117e29205ffe65ecf1331b5f6f3e34 (patch) | |
tree | bcaed9a0f37efae4f307d8d42caad194b166c2b4 | |
parent | 306eea5e59c982c25b6f932b45dee4504e28bed3 (diff) | |
download | spack-0e59ade030117e29205ffe65ecf1331b5f6f3e34.tar.gz spack-0e59ade030117e29205ffe65ecf1331b5f6f3e34.tar.bz2 spack-0e59ade030117e29205ffe65ecf1331b5f6f3e34.tar.xz spack-0e59ade030117e29205ffe65ecf1331b5f6f3e34.zip |
petsc: minor fixes... (#2036)
* petsc: require boost for :3.5 only
* petsc: turn off download for c2html and hwloc
-rw-r--r-- | var/spack/repos/builtin/packages/petsc/package.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/petsc/package.py b/var/spack/repos/builtin/packages/petsc/package.py index 823c122a8e..4ac96b8127 100644 --- a/var/spack/repos/builtin/packages/petsc/package.py +++ b/var/spack/repos/builtin/packages/petsc/package.py @@ -75,7 +75,7 @@ class Petsc(Package): depends_on('python @2.6:2.7') # Other dependencies - depends_on('boost', when='+boost') + depends_on('boost', when='@:3.5+boost') depends_on('metis@5:', when='+metis') depends_on('hdf5+mpi', when='+hdf5+mpi') @@ -125,7 +125,9 @@ class Petsc(Package): return compiler_opts def install(self, spec, prefix): - options = ['--with-ssl=0'] + options = ['--with-ssl=0', + '--download-c2html=0', + '--download-hwloc=0'] options.extend(self.mpi_dependent_options()) options.extend([ '--with-precision=%s' % ( |