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
No related branches found
No related tags found
No related merge requests found
......@@ -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([
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment