hypre: add in hipblas dependency due to superlu-dist (#40980)

This commit is contained in:
Satish Balay 2023-11-09 13:03:03 -06:00 committed by GitHub
parent 7a4df732e1
commit b5e2f23b6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,6 +108,7 @@ def patch(self): # fix sequential compilation in 'src/seq_mv'
depends_on("rocthrust", when="+rocm")
depends_on("rocrand", when="+rocm")
depends_on("rocprim", when="+rocm")
depends_on("hipblas", when="+rocm +superlu-dist")
depends_on("umpire", when="+umpire")
depends_on("caliper", when="+caliper")
@ -259,6 +260,8 @@ def configure_args(self):
if "+rocm" in spec:
rocm_pkgs = ["rocsparse", "rocthrust", "rocprim", "rocrand"]
if "+superlu-dist" in spec:
rocm_pkgs.append("hipblas")
rocm_inc = ""
for pkg in rocm_pkgs:
if "^" + pkg in spec: