summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/petsc/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/petsc/package.py b/var/spack/repos/builtin/packages/petsc/package.py
index 4a8ac8657b..9d0d3a9016 100644
--- a/var/spack/repos/builtin/packages/petsc/package.py
+++ b/var/spack/repos/builtin/packages/petsc/package.py
@@ -159,6 +159,10 @@ class Petsc(Package, CudaPackage, ROCmPackage):
# https://github.com/spack/spack/issues/37416
conflicts("^rocprim@5.3.0:5.3.2", when="+rocm")
+ # petsc 3.20 has workaround for breaking change in hipsparseSpSV_solve api,
+ # but it seems to misdetect hipsparse@5.6.1 as 5.6.0, so the workaround
+ # only makes things worse
+ conflicts("^hipsparse@5.6", when="+rocm @3.20.0")
# 3.8.0 has a build issue with MKL - so list this conflict explicitly
conflicts("^intel-mkl", when="@3.8.0")