From 4ae473953710e07eb871f46bc0bd629ea467ba9c Mon Sep 17 00:00:00 2001 From: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> Date: Mon, 14 Apr 2025 00:13:16 -0700 Subject: [PATCH] warpx, py-amrex: add v25.04 (#49891) --- var/spack/repos/builtin/packages/py-amrex/package.py | 7 ++++--- var/spack/repos/builtin/packages/warpx/package.py | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-amrex/package.py b/var/spack/repos/builtin/packages/py-amrex/package.py index 72f7f5306fe..a5923cb36bd 100644 --- a/var/spack/repos/builtin/packages/py-amrex/package.py +++ b/var/spack/repos/builtin/packages/py-amrex/package.py @@ -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( diff --git a/var/spack/repos/builtin/packages/warpx/package.py b/var/spack/repos/builtin/packages/warpx/package.py index 56ae7276cdb..8484beb8889 100644 --- a/var/spack/repos/builtin/packages/warpx/package.py +++ b/var/spack/repos/builtin/packages/warpx/package.py @@ -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}",