summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatish Balay <balay@mcs.anl.gov>2018-12-22 10:40:08 -0600
committerGitHub <noreply@github.com>2018-12-22 10:40:08 -0600
commitfad4ecc90bf3c1369b01b3d22bf0bd7d018e2083 (patch)
tree4998b69a7cb872ecae639c83df6d5170a6c4c90b
parentec2c5e5b0dfbbf5d70d0ccca91da4e8c149642fc (diff)
downloadspack-fad4ecc90bf3c1369b01b3d22bf0bd7d018e2083.tar.gz
spack-fad4ecc90bf3c1369b01b3d22bf0bd7d018e2083.tar.bz2
spack-fad4ecc90bf3c1369b01b3d22bf0bd7d018e2083.tar.xz
spack-fad4ecc90bf3c1369b01b3d22bf0bd7d018e2083.zip
petsc-3.10.3: syncs with superlu-dist-6.1. (#10166)
-rw-r--r--var/spack/repos/builtin/packages/petsc/package.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/petsc/package.py b/var/spack/repos/builtin/packages/petsc/package.py
index 28e151a0ce..088b3018d5 100644
--- a/var/spack/repos/builtin/packages/petsc/package.py
+++ b/var/spack/repos/builtin/packages/petsc/package.py
@@ -138,8 +138,10 @@ class Petsc(Package):
depends_on('superlu-dist@5.0.0:+int64', when='@3.7:3.7.99+superlu-dist+mpi+int64')
depends_on('superlu-dist@5.2:5.2.99~int64', when='@3.8:3.9.99+superlu-dist+mpi~int64')
depends_on('superlu-dist@5.2:5.2.99+int64', when='@3.8:3.9.99+superlu-dist+mpi+int64')
- depends_on('superlu-dist@5.4:5.4.99~int64', when='@3.10:3.10.99+superlu-dist+mpi~int64')
- depends_on('superlu-dist@5.4:5.4.99+int64', when='@3.10:3.10.99+superlu-dist+mpi+int64')
+ depends_on('superlu-dist@5.4:5.4.99~int64', when='@3.10:3.10.2+superlu-dist+mpi~int64')
+ depends_on('superlu-dist@5.4:5.4.99+int64', when='@3.10:3.10.2+superlu-dist+mpi+int64')
+ depends_on('superlu-dist@6.1:6.1.99~int64', when='@3.10.3:3.10.99+superlu-dist+mpi~int64')
+ depends_on('superlu-dist@6.1:6.1.99+int64', when='@3.10.3:3.10.99+superlu-dist+mpi+int64')
depends_on('superlu-dist@xsdk-0.2.0~int64', when='@xsdk-0.2.0+superlu-dist+mpi~int64')
depends_on('superlu-dist@xsdk-0.2.0+int64', when='@xsdk-0.2.0+superlu-dist+mpi+int64')
depends_on('superlu-dist@develop~int64', when='@develop+superlu-dist+mpi~int64')
@@ -257,6 +259,8 @@ class Petsc(Package):
# PETSc does not pick up SuperluDist from the dir as they look for
# superlu_dist_4.1.a
if 'superlu-dist' in spec:
+ if spec.satisfies('@3.10.3:'):
+ options.append('--with-cxx-dialect=C++11')
options.extend([
'--with-superlu_dist-include=%s' %
spec['superlu-dist'].prefix.include,