summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorOlivier Cessenat <cessenat@gmail.com>2021-09-27 19:58:54 +0200
committerGitHub <noreply@github.com>2021-09-27 10:58:54 -0700
commit27c0b4a0f704dab4283a82334d278cf714f84abc (patch)
tree3c897311b3cf9d1a8a287df1c28252a98a9ca2a1 /var
parentee63cfe0fd1007646f0aef58d272c47c806ef061 (diff)
downloadspack-27c0b4a0f704dab4283a82334d278cf714f84abc.tar.gz
spack-27c0b4a0f704dab4283a82334d278cf714f84abc.tar.bz2
spack-27c0b4a0f704dab4283a82334d278cf714f84abc.tar.xz
spack-27c0b4a0f704dab4283a82334d278cf714f84abc.zip
sundials package: @:5.7.0 requires hypre@:2.22.0 (#25903)
sundials@:5.7.0 fails to build with hypre@2.22.1
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/sundials/package.py19
1 files changed, 10 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/sundials/package.py b/var/spack/repos/builtin/packages/sundials/package.py
index d409ae36c8..63f2f0c78f 100644
--- a/var/spack/repos/builtin/packages/sundials/package.py
+++ b/var/spack/repos/builtin/packages/sundials/package.py
@@ -174,21 +174,22 @@ class Sundials(CMakePackage, CudaPackage, ROCmPackage):
depends_on('raja+rocm', when='+raja +rocm')
# External libraries
- depends_on('lapack', when='+lapack')
- depends_on('suite-sparse', when='+klu')
- depends_on('petsc+mpi', when='+petsc')
- depends_on('hypre+mpi', when='+hypre')
- depends_on('superlu-dist@6.1.1:', when='@:5.4.0 +superlu-dist')
- depends_on('superlu-dist@6.3.0:', when='@5.5.0: +superlu-dist')
- depends_on('trilinos+tpetra', when='+trilinos')
+ depends_on('lapack', when='+lapack')
+ depends_on('suite-sparse', when='+klu')
+ depends_on('petsc+mpi', when='+petsc')
+ depends_on('hypre+mpi~int64', when='@5.7.1: +hypre ~int64')
+ depends_on('hypre+mpi+int64', when='@5.7.1: +hypre +int64')
+ depends_on('hypre@:2.22.0+mpi~int64', when='@:5.7.0 +hypre ~int64')
+ depends_on('hypre@:2.22.0+mpi+int64', when='@:5.7.0 +hypre +int64')
+ depends_on('superlu-dist@6.1.1:', when='@:5.4.0 +superlu-dist')
+ depends_on('superlu-dist@6.3.0:', when='@5.5.0: +superlu-dist')
+ depends_on('trilinos+tpetra', when='+trilinos')
# Require that external libraries built with the same precision
depends_on('petsc~double~complex', when='+petsc precision=single')
depends_on('petsc+double~complex', when='+petsc precision=double')
# Require that external libraries built with the same index type
- depends_on('hypre~int64', when='+hypre ~int64')
- depends_on('hypre+int64', when='+hypre +int64')
depends_on('petsc~int64', when='+petsc ~int64')
depends_on('petsc+int64', when='+petsc +int64')
depends_on('superlu-dist+int64', when='+superlu-dist +int64')