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

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.
parent 3f8613ae
Branches
Tags
No related merge requests found
...@@ -70,7 +70,7 @@ class Petsc(Package): ...@@ -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): ...@@ -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([
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment