From 671dab97d5d7804147866f77b26b95fa1c336637 Mon Sep 17 00:00:00 2001 From: Richard Berger Date: Thu, 18 Jan 2024 14:30:48 -0700 Subject: 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. --- var/spack/repos/builtin/packages/ucx/package.py | 1 + 1 file changed, 1 insertion(+) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/ucx/package.py b/var/spack/repos/builtin/packages/ucx/package.py index 19e885efcb..a50f11cba4 100644 --- a/var/spack/repos/builtin/packages/ucx/package.py +++ b/var/spack/repos/builtin/packages/ucx/package.py @@ -137,6 +137,7 @@ class Ucx(AutotoolsPackage, CudaPackage): depends_on("rdma-core", when="+verbs") depends_on("xpmem", when="+xpmem") depends_on("hip", when="+rocm") + depends_on("hsa-rocr-dev", when="+rocm") conflicts("+gdrcopy", when="~cuda", msg="gdrcopy currently requires cuda support") conflicts("+rocm", when="+gdrcopy", msg="gdrcopy > 2.0 does not support rocm") -- cgit v1.2.3-70-g09d2