Skip to content
Snippets Groups Projects
Commit 0e59ade0 authored by Denis Davydov's avatar Denis Davydov Committed by Todd Gamblin
Browse files

petsc: minor fixes... (#2036)

* petsc: require boost for :3.5 only

* petsc: turn off download for c2html and hwloc
parent 306eea5e
No related branches found
No related tags found
No related merge requests found
...@@ -75,7 +75,7 @@ class Petsc(Package): ...@@ -75,7 +75,7 @@ class Petsc(Package):
depends_on('python @2.6:2.7') depends_on('python @2.6:2.7')
# Other dependencies # Other dependencies
depends_on('boost', when='+boost') depends_on('boost', when='@:3.5+boost')
depends_on('metis@5:', when='+metis') depends_on('metis@5:', when='+metis')
depends_on('hdf5+mpi', when='+hdf5+mpi') depends_on('hdf5+mpi', when='+hdf5+mpi')
...@@ -125,7 +125,9 @@ def mpi_dependent_options(self): ...@@ -125,7 +125,9 @@ def mpi_dependent_options(self):
return compiler_opts return compiler_opts
def install(self, spec, prefix): 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(self.mpi_dependent_options())
options.extend([ options.extend([
'--with-precision=%s' % ( '--with-precision=%s' % (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment