warpx, py-amrex: add v25.04 (#49891)

This commit is contained in:
Edoardo Zoni 2025-04-14 00:13:16 -07:00 committed by GitHub
parent 493a307e4f
commit 4ae4739537
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 6 deletions

View File

@ -10,7 +10,7 @@ class PyAmrex(CMakePackage, PythonExtension, CudaPackage, ROCmPackage):
"""AMReX Python Bindings with pybind11"""
homepage = "https://amrex-codes.github.io/amrex/"
url = "https://github.com/AMReX-Codes/pyamrex/archive/refs/tags/25.03.tar.gz"
url = "https://github.com/AMReX-Codes/pyamrex/archive/refs/tags/25.04.tar.gz"
git = "https://github.com/AMReX-Codes/pyamrex.git"
maintainers("ax3l", "EZoni", "RTSandberg", "sayerhs", "WeiqunZhang")
@ -20,11 +20,12 @@ class PyAmrex(CMakePackage, PythonExtension, CudaPackage, ROCmPackage):
license("BSD-3-Clause-LBNL")
version("develop", branch="development")
version("25.03", sha256="5a65545d46b49dd3f2bca2647a174c3ee0384e49791dc3e335a3a39d9a045350")
version("25.04", sha256="2c765d581f21170ea26a5eb50bdd2c9151d2dbed9f1002dc25e62f38ed6220c0")
with default_args(deprecated=True):
version("25.03", sha256="5a65545d46b49dd3f2bca2647a174c3ee0384e49791dc3e335a3a39d9a045350")
version("25.02", sha256="c743086b317f9fa90639d825db32a92376cde8dc5e1eab47a4c6a82af36d5b5c")
for v in ["25.03", "25.02", "develop"]:
for v in ["25.04", "25.03", "25.02", "develop"]:
depends_on("amrex@{0}".format(v), when="@{0}".format(v), type=("build", "link"))
variant(

View File

@ -15,7 +15,7 @@ class Warpx(CMakePackage, PythonExtension):
"""
homepage = "https://ecp-warpx.github.io"
url = "https://github.com/BLAST-WarpX/warpx/archive/refs/tags/25.03.tar.gz"
url = "https://github.com/BLAST-WarpX/warpx/archive/refs/tags/25.04.tar.gz"
git = "https://github.com/BLAST-WarpX/warpx.git"
maintainers("ax3l", "dpgrote", "EZoni", "RemiLehe")
@ -24,13 +24,14 @@ class Warpx(CMakePackage, PythonExtension):
license("BSD-3-Clause-LBNL")
version("develop", branch="development")
version("25.03", sha256="18155ff67b036a00db2a25303058316167192a81cfe6dc1dec65fdef0b6d9903")
version("25.04", sha256="374136fbf566d65307dfe95ae12686ccaf3e649d2f66a79cd856585986c94ac7")
with default_args(deprecated=True):
version("25.03", sha256="18155ff67b036a00db2a25303058316167192a81cfe6dc1dec65fdef0b6d9903")
version("25.02", sha256="7bdea9c1e94f82dbc3565f14f6b6ad7658a639217a10a6cf08c05a16aa26266f")
# 22.01+ requires C++17 or newer
# 20.01+ requires C++14 or newer
for v in ["25.03", "25.02", "develop"]:
for v in ["25.04", "25.03", "25.02", "develop"]:
depends_on(
f"amrex@{v} build_system=cmake +linear_solvers +pic +particles +shared +tiny_profile",
when=f"@{v}",