sundials: expand patch when rule (#49296)

This commit is contained in:
Chris White 2025-03-05 07:13:19 -08:00 committed by GitHub
parent 125feb125c
commit 32760e2885
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -288,7 +288,7 @@ class Sundials(CMakePackage, CudaPackage, ROCmPackage):
# ========================================================================== # ==========================================================================
# https://github.com/LLNL/sundials/pull/434 # https://github.com/LLNL/sundials/pull/434
# https://github.com/LLNL/sundials/pull/437 # https://github.com/LLNL/sundials/pull/437
patch("sundials-hip-platform.patch", when="@7.0.0 +rocm") patch("sundials-hip-platform.patch", when="@6.7.0:7.0.0 +rocm")
# https://github.com/spack/spack/issues/29526 # https://github.com/spack/spack/issues/29526
patch("nvector-pic.patch", when="@6.1.0:6.2.0 +rocm") patch("nvector-pic.patch", when="@6.1.0:6.2.0 +rocm")