Add conflicts between gcc@12.2.0 and rocblas@5.2.1:5.2.3 (#34217)

* Add conflicts with gcc@12.2.0

* Add more links for reference
This commit is contained in:
Auriane R 2022-12-05 11:13:22 +01:00 committed by GitHub
parent 94dc86e163
commit 895ac2626d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,6 +106,10 @@ class Rocblas(CMakePackage):
conflicts("amdgpu_target=gfx1011", when="@:4.2.1")
conflicts("amdgpu_target=gfx1012", when="@:4.2.1")
conflicts("amdgpu_target=gfx1030", when="@:4.2.1")
# https://reviews.llvm.org/D124866
# https://github.com/ROCm-Developer-Tools/HIP/issues/2678
# https://github.com/ROCm-Developer-Tools/hipamd/blob/rocm-5.2.x/include/hip/amd_detail/host_defines.h#L50
conflicts("%gcc@12", when="@5.2.1:5.2.3")
depends_on("cmake@3.16.8:", type="build", when="@4.2.0:")
depends_on("cmake@3.8:", type="build", when="@3.9.0:")