petsc: add conflict on rocm 5.6: for now (#40300)

hipsparse@5.6.0 changed hipsparseSpSV_solve() API, but reverted in 5.6.1
This commit is contained in:
Harmen Stoppels 2023-10-04 09:59:59 +02:00 committed by GitHub
parent 7bf6780de2
commit d9cacf664c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")