petsc@3.21 +rocm: add patches for rocm 6+ (#46486)
This commit is contained in:
parent
195d20d1f2
commit
3db3b8dfa0
1 changed files with 10 additions and 0 deletions
|
@ -175,6 +175,16 @@ class Petsc(Package, CudaPackage, ROCmPackage):
|
|||
when="@3.20.0",
|
||||
sha256="ba327f8b2a0fa45209dfb7a4278f3e9a323965b5a668be204c1c77c17a963a7f",
|
||||
)
|
||||
patch(
|
||||
"https://gitlab.com/petsc/petsc/-/commit/20d5ecbf88175ced320006c488dcefa2efb1e67f.diff",
|
||||
when="@3.21 ^hip@6:",
|
||||
sha256="2904ea20c71e2f21b8475513c3e5de7465e328e2485ae706b003aa79314e3e7c",
|
||||
)
|
||||
patch(
|
||||
"https://gitlab.com/petsc/petsc/-/commit/bdb83d9f3e3c55b3bd4c8732bfe2066c23f10f61.diff",
|
||||
when="@3.21 ^hip@6:",
|
||||
sha256="89cf2c9a01d4a3233c889dd98496a29bf43db1bc69195892f9e5405c537b87e3",
|
||||
)
|
||||
patch("hip-5.6.0-for-3.18.diff", when="@3.18:3.19 ^hipsparse@5.6.0")
|
||||
patch("hip-5.7-plus-for-3.18.diff", when="@3.18:3.19 ^hipsparse@5.7:")
|
||||
patch(
|
||||
|
|
Loading…
Reference in a new issue