petsc: explicitly disable X11 (#2533)
otherwise petsc may pickup libX11 on login nodes during config/build, but libX11 may not be available on computation nodes.
This commit is contained in:
parent
3f8613ae42
commit
4d0ea423fb
1 changed files with 3 additions and 2 deletions
|
@ -70,7 +70,7 @@ class Petsc(Package):
|
|||
# Virtual dependencies
|
||||
# Git repository needs sowing to build Fortran interface
|
||||
depends_on('sowing', when='@develop')
|
||||
|
||||
|
||||
depends_on('blas')
|
||||
depends_on('lapack')
|
||||
depends_on('mpi', when='+mpi')
|
||||
|
@ -130,8 +130,9 @@ def mpi_dependent_options(self):
|
|||
|
||||
def install(self, spec, prefix):
|
||||
options = ['--with-ssl=0',
|
||||
'--with-x=0',
|
||||
'--download-c2html=0',
|
||||
'--download-sowing=0',
|
||||
'--download-sowing=0',
|
||||
'--download-hwloc=0']
|
||||
options.extend(self.mpi_dependent_options())
|
||||
options.extend([
|
||||
|
|
Loading…
Reference in a new issue