ucx: add explicit dependency to hsa-rocr-dev (#42152)

Fixes an issue that occurs when hip is provided as an external.
hsa-rocr-dev would not be part of the dependency tree in that case.
This commit is contained in:
Richard Berger 2024-01-18 14:30:48 -07:00 committed by GitHub
parent 27a3ba1a59
commit 671dab97d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -137,6 +137,7 @@ class Ucx(AutotoolsPackage, CudaPackage):
depends_on("rdma-core", when="+verbs") depends_on("rdma-core", when="+verbs")
depends_on("xpmem", when="+xpmem") depends_on("xpmem", when="+xpmem")
depends_on("hip", when="+rocm") depends_on("hip", when="+rocm")
depends_on("hsa-rocr-dev", when="+rocm")
conflicts("+gdrcopy", when="~cuda", msg="gdrcopy currently requires cuda support") conflicts("+gdrcopy", when="~cuda", msg="gdrcopy currently requires cuda support")
conflicts("+rocm", when="+gdrcopy", msg="gdrcopy > 2.0 does not support rocm") conflicts("+rocm", when="+gdrcopy", msg="gdrcopy > 2.0 does not support rocm")