Petsc: add in hipblas dependency on hipblas-common (#49017)

This commit is contained in:
Tara Drwenski 2025-02-25 09:35:36 -07:00 committed by GitHub
parent 3cefa7047c
commit 3a219d114d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -356,6 +356,7 @@ def check_fortran_compiler(self):
with when("+rocm"):
depends_on("rocm-core")
depends_on("hipblas")
depends_on("hipblas-common", when="^hipblas@6.3.0:")
depends_on("hipsparse")
depends_on("hipsolver")
depends_on("rocsparse")
@ -721,7 +722,7 @@ def configure_options(self):
hip_ipkgs.extend(["rocrand"])
else:
hip_lpkgs.extend(["rocrand"])
if spec.satisfies("^hipblas@6.3.0:"):
if spec.satisfies("^hipblas-common"):
hip_ipkgs.extend(["hipblas-common"])
hip_inc = ""
hip_lib = ""