mfem: adjusted dependencies on hypre (4.2 compiles with hypre up to 2.20) (#24611)
This commit is contained in:
parent
8089b86dc2
commit
f88d90e432
@ -3,11 +3,12 @@
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
from spack import *
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
from spack import *
|
||||
|
||||
|
||||
class Mfem(Package, CudaPackage, ROCmPackage):
|
||||
"""Free, lightweight, scalable C++ library for finite element methods."""
|
||||
@ -195,7 +196,8 @@ class Mfem(Package, CudaPackage, ROCmPackage):
|
||||
|
||||
depends_on('mpi', when='+mpi')
|
||||
depends_on('hypre@2.10.0:2.13.99', when='@:3.3.99+mpi')
|
||||
depends_on('hypre', when='@3.4:+mpi')
|
||||
depends_on('hypre@:2.20.0', when='@3.4:4.2.99+mpi')
|
||||
depends_on('hypre', when='@4.3.0:+mpi')
|
||||
|
||||
depends_on('metis', when='+metis')
|
||||
depends_on('blas', when='+lapack')
|
||||
|
Loading…
Reference in New Issue
Block a user