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
@ -70,7 +70,7 @@ class Petsc(Package):
|
|||||||
# Virtual dependencies
|
# Virtual dependencies
|
||||||
# Git repository needs sowing to build Fortran interface
|
# Git repository needs sowing to build Fortran interface
|
||||||
depends_on('sowing', when='@develop')
|
depends_on('sowing', when='@develop')
|
||||||
|
|
||||||
depends_on('blas')
|
depends_on('blas')
|
||||||
depends_on('lapack')
|
depends_on('lapack')
|
||||||
depends_on('mpi', when='+mpi')
|
depends_on('mpi', when='+mpi')
|
||||||
@ -130,8 +130,9 @@ def mpi_dependent_options(self):
|
|||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
options = ['--with-ssl=0',
|
options = ['--with-ssl=0',
|
||||||
|
'--with-x=0',
|
||||||
'--download-c2html=0',
|
'--download-c2html=0',
|
||||||
'--download-sowing=0',
|
'--download-sowing=0',
|
||||||
'--download-hwloc=0']
|
'--download-hwloc=0']
|
||||||
options.extend(self.mpi_dependent_options())
|
options.extend(self.mpi_dependent_options())
|
||||||
options.extend([
|
options.extend([
|
||||||
|
Loading…
Reference in New Issue
Block a user