summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorDenis Davydov <davydden@gmail.com>2016-12-09 17:43:38 +0100
committerTodd Gamblin <tgamblin@llnl.gov>2016-12-09 08:43:38 -0800
commit4d0ea423fbf08fb6cbbe5e4ec5dca993833bc397 (patch)
tree235cd4b7bfd0bf26aecac3f4036fea64d41c742c /var
parent3f8613ae42b67007c8000a97371322c14cdaf5db (diff)
downloadspack-4d0ea423fbf08fb6cbbe5e4ec5dca993833bc397.tar.gz
spack-4d0ea423fbf08fb6cbbe5e4ec5dca993833bc397.tar.bz2
spack-4d0ea423fbf08fb6cbbe5e4ec5dca993833bc397.tar.xz
spack-4d0ea423fbf08fb6cbbe5e4ec5dca993833bc397.zip
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.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/petsc/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/petsc/package.py b/var/spack/repos/builtin/packages/petsc/package.py
index 276237a536..96eeb4fe44 100644
--- a/var/spack/repos/builtin/packages/petsc/package.py
+++ b/var/spack/repos/builtin/packages/petsc/package.py
@@ -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 @@ class Petsc(Package):
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([