hypre: add in hipblas dependency due to superlu-dist (#40980)
This commit is contained in:
parent
7a4df732e1
commit
b5e2f23b6c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user