mapl: add v2.51.0 (#47968)

This commit is contained in:
Matt Thompson 2024-12-09 15:21:05 -05:00 committed by GitHub
parent 4d6347c99c
commit 728f13d4b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,6 +39,8 @@ class Mapl(CMakePackage):
version("develop", branch="develop")
version("main", branch="main")
version("2.51.0", sha256="56213d845f5287e599213aab1dea60bf6b64c29cd8093313639304b270c45676")
version("2.50.3", sha256="506f73d511b6a63645bbf953bf04f663da06f5069cb559340786e9fe8eeb170f")
version("2.50.2", sha256="1c72f8598cf01bab6ef30c1f461444ba5a13f55c61164b7b3c15efb0cd1096c0")
version("2.50.1", sha256="26dd7a3ec82d484d60a559bb90a20ad9a2a717af52c25b6a752dd971aeeb5075")
version("2.50.0", sha256="12282e547936f667f85c95d466273dcbaccbd600add72fa5981c0c734ccb1f7d")
@ -157,11 +159,17 @@ class Mapl(CMakePackage):
# Versions later than 3.14 remove FindESMF.cmake
# from ESMA_CMake.
resource(
name="esma_cmake",
git="https://github.com/GEOS-ESM/ESMA_cmake.git",
tag="v3.55.0",
when="@2.51:",
)
resource(
name="esma_cmake",
git="https://github.com/GEOS-ESM/ESMA_cmake.git",
tag="v3.51.0",
when="@2.48:",
when="@2.48:2.50",
)
resource(
name="esma_cmake",
@ -240,6 +248,11 @@ class Mapl(CMakePackage):
# builds with gcc 13 from that version onwards
conflicts("%gcc@13:", when="@:2.44")
# MAPL can use ifx only from MAPL 2.51 onwards and only supports
# ifx 2025.0 and newer due to bugs in ifx
conflicts("%oneapi@:2024")
conflicts("%oneapi", when="@:2.50")
variant("flap", default=False, description="Build with FLAP support", when="@:2.39")
variant("pflogger", default=True, description="Build with pFlogger support")
variant("fargparse", default=True, description="Build with fArgParse support")
@ -261,7 +274,8 @@ class Mapl(CMakePackage):
conflicts("+pflogger", when="@:2.40.3 %intel@2021.7:")
conflicts("+extdata2g", when="@:2.40.3 %intel@2021.7:")
depends_on("cmake@3.23:", type="build", when="@2.50:")
depends_on("cmake@3.24:", type="build", when="@2.51:")
depends_on("cmake@3.23:", type="build", when="@2.50")
depends_on("cmake@3.17:", type="build", when="@:2.49")
depends_on("mpi")
depends_on("hdf5")