WarpX & pyAMReX 25.03 (#49328)

* pyAMReX 25.03

* Adding EZoni to pyAMReX Spack package maintainers

* WarpX 25.03

* Fix SHA-256 checksums

---------

Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
This commit is contained in:
Edoardo Zoni 2025-03-07 21:03:28 -08:00 committed by GitHub
parent 50b56ee1ce
commit 1c76c88f2c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 17 additions and 7 deletions

View File

@ -10,15 +10,20 @@ 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/24.10.tar.gz"
url = "https://github.com/AMReX-Codes/pyamrex/archive/refs/tags/25.03.tar.gz"
git = "https://github.com/AMReX-Codes/pyamrex.git"
maintainers("ax3l", "RTSandberg", "sayerhs", "WeiqunZhang")
maintainers("ax3l", "EZoni", "RTSandberg", "sayerhs", "WeiqunZhang")
license("BSD-3-Clause-LBNL")
version("develop", branch="development")
version("25.02", sha256="c743086b317f9fa90639d825db32a92376cde8dc5e1eab47a4c6a82af36d5b5c")
version("25.03", sha256="5a65545d46b49dd3f2bca2647a174c3ee0384e49791dc3e335a3a39d9a045350")
version(
"25.02",
sha256="c743086b317f9fa90639d825db32a92376cde8dc5e1eab47a4c6a82af36d5b5c",
deprecated=True,
)
version(
"24.10",
sha256="dc1752ed3fbd5113dcfdbddcfe6c3c458e572b288ac9d41ed3ed7db130591d74",
@ -41,7 +46,7 @@ class PyAmrex(CMakePackage, PythonExtension, CudaPackage, ROCmPackage):
deprecated=True,
)
for v in ["25.02", "24.10", "24.08", "24.04", "24.03"]:
for v in ["25.03", "25.02", "24.10", "24.08", "24.04", "24.03"]:
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/ECP-WarpX/WarpX/archive/refs/tags/24.10.tar.gz"
url = "https://github.com/ECP-WarpX/WarpX/archive/refs/tags/25.03.tar.gz"
git = "https://github.com/ECP-WarpX/WarpX.git"
maintainers("ax3l", "dpgrote", "EZoni", "RemiLehe")
@ -25,7 +25,12 @@ class Warpx(CMakePackage, PythonExtension):
# NOTE: if you update the versions here, also see py-warpx
version("develop", branch="development")
version("25.02", sha256="c65385a3598bf43278c0b1c10ae2a5a07c1a46f6fa98deded385ecca2021a1a2")
version("25.03", sha256="ec0a032fd2c838acec4b251fa3a8180b47186cc2216bc1adc6242cd275977590")
version(
"25.02",
sha256="c65385a3598bf43278c0b1c10ae2a5a07c1a46f6fa98deded385ecca2021a1a2",
deprecated=True,
)
version(
"24.10",
sha256="1fe3a86bf820a2ecef853cdcd9427fba4e0cb1efb05326da7dc9dbf94551202f",
@ -250,7 +255,7 @@ class Warpx(CMakePackage, PythonExtension):
depends_on("c", type="build")
depends_on("cxx", type="build")
for v in ["25.02", "24.10", "24.08", "develop"]:
for v in ["25.03", "25.02", "24.10", "24.08", "develop"]:
depends_on(
f"amrex@{v} build_system=cmake +linear_solvers +pic +particles +shared +tiny_profile",
when=f"@{v}",