petsc: minor fixes... (#2036)

* petsc: require boost for :3.5 only

* petsc: turn off download for c2html and hwloc
This commit is contained in:
Denis Davydov 2016-10-18 17:09:18 +02:00 committed by Todd Gamblin
parent 306eea5e59
commit 0e59ade030

View File

@ -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 @@ def mpi_dependent_options(self):
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' % (