From 16c31d5bc1c3d05142d68c8ab209aafa83a41f20 Mon Sep 17 00:00:00 2001 From: jakirkham Date: Thu, 3 Aug 2023 14:35:50 -0700 Subject: [PATCH] Use `nccl`'s `run_export` to add it to `run` As `libxgboost` dynamically links to `nccl`, it must have the library available to load it (even in the CPU case). So move `nccl` to a hard dependency (instead of a soft one). --- recipe/meta.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 692b3d25..6ed3e2b4 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -49,7 +49,6 @@ outputs: string: rapidsai_h{{ PKG_HASH }}_{{ PKG_BUILDNUM }} ignore_run_exports_from: - {{ compiler('cuda') }} # [(cuda_compiler_version or "").startswith("11")] - - nccl # [linux and cuda_compiler != "None"] requirements: build: - {{ compiler('c') }} @@ -69,7 +68,6 @@ outputs: - cuda-version >=11.2,<12 # [(cuda_compiler_version or "").startswith("11")] run_constrained: - librmm ={{ rapids_version }} # [linux and cuda_compiler != "None"] - - {{ pin_compatible("nccl", max_pin="x") }} # [linux and cuda_compiler != "None"] - name: py-xgboost script: install-py-xgboost.sh # [not win]