sundials package: @:5.7.0 requires hypre@:2.22.0 (#25903)

sundials@:5.7.0 fails to build with hypre@2.22.1
This commit is contained in:
Olivier Cessenat 2021-09-27 19:58:54 +02:00 committed by GitHub
parent ee63cfe0fd
commit 27c0b4a0f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -177,7 +177,10 @@ class Sundials(CMakePackage, CudaPackage, ROCmPackage):
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('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')
@ -187,8 +190,6 @@ class Sundials(CMakePackage, CudaPackage, ROCmPackage):
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')