amr-wind: update some dependency constraints and add fortran dependency. (#50440)

This commit is contained in:
Jon Rood 2025-05-12 15:25:45 -06:00 committed by GitHub
parent 5a8a7b83f6
commit 6efdc3c005
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -236,9 +236,12 @@ class AmrWind(CMakePackage, CudaPackage, ROCmPackage):
depends_on("c", type="build")
depends_on("cxx", type="build")
depends_on("fortran", type="build", when="+openfast")
depends_on("mpi", when="+mpi")
depends_on("hdf5~mpi", when="+hdf5~mpi")
depends_on("hdf5+mpi", when="+hdf5+mpi")
# New versions of HDF5 have CMake problems finding ZLIB::ZLIB target
depends_on("hdf5@:1.14.4-3", when="+hdf5")
depends_on("h5z-zfp", when="+hdf5")
depends_on("zfp", when="+hdf5")
depends_on("hypre~int64@2.29.0:", when="@0.9.0:+hypre")
@ -251,7 +254,7 @@ class AmrWind(CMakePackage, CudaPackage, ROCmPackage):
depends_on("ascent+mpi", when="+ascent+mpi")
depends_on("netcdf-c", when="+netcdf")
depends_on("py-netcdf4", when="+netcdf")
depends_on("py-numpy", when="+netcdf")
depends_on("py-numpy@2:", when="+netcdf")
depends_on("py-matplotlib", when="+masa")
depends_on("py-pandas", when="+masa")
depends_on("openfast+cxx", when="+openfast")