Petsc: add in hipblas dependency on hipblas-common (#49017)
This commit is contained in:
parent
3cefa7047c
commit
3a219d114d
@ -356,6 +356,7 @@ def check_fortran_compiler(self):
|
|||||||
with when("+rocm"):
|
with when("+rocm"):
|
||||||
depends_on("rocm-core")
|
depends_on("rocm-core")
|
||||||
depends_on("hipblas")
|
depends_on("hipblas")
|
||||||
|
depends_on("hipblas-common", when="^hipblas@6.3.0:")
|
||||||
depends_on("hipsparse")
|
depends_on("hipsparse")
|
||||||
depends_on("hipsolver")
|
depends_on("hipsolver")
|
||||||
depends_on("rocsparse")
|
depends_on("rocsparse")
|
||||||
@ -721,7 +722,7 @@ def configure_options(self):
|
|||||||
hip_ipkgs.extend(["rocrand"])
|
hip_ipkgs.extend(["rocrand"])
|
||||||
else:
|
else:
|
||||||
hip_lpkgs.extend(["rocrand"])
|
hip_lpkgs.extend(["rocrand"])
|
||||||
if spec.satisfies("^hipblas@6.3.0:"):
|
if spec.satisfies("^hipblas-common"):
|
||||||
hip_ipkgs.extend(["hipblas-common"])
|
hip_ipkgs.extend(["hipblas-common"])
|
||||||
hip_inc = ""
|
hip_inc = ""
|
||||||
hip_lib = ""
|
hip_lib = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user