diff --git a/conda/recipes/libraft/build_libraft_tests.sh b/conda/recipes/libraft/build_libraft_tests.sh index 6f68a50f91..799d16ed75 100644 --- a/conda/recipes/libraft/build_libraft_tests.sh +++ b/conda/recipes/libraft/build_libraft_tests.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash # Copyright (c) 2022-2024, NVIDIA CORPORATION. -./build.sh tests bench-prims --allgpuarch --compile-lib --no-nvtx --build-metrics=tests_bench_prims --incl-cache-stats +./build.sh tests bench-prims --allgpuarch --no-nvtx --build-metrics=tests_bench_prims --incl-cache-stats cmake --install cpp/build --component testing diff --git a/conda/recipes/libraft/meta.yaml b/conda/recipes/libraft/meta.yaml index 4559173e2e..55f326dc53 100644 --- a/conda/recipes/libraft/meta.yaml +++ b/conda/recipes/libraft/meta.yaml @@ -280,7 +280,11 @@ outputs: - ninja - sysroot_{{ target_platform }} {{ sysroot_version }} host: + # We must include both libraft and libraft-static to prevent the test + # builds from packaging those libraries. However, tests only depend on + # the shared library in libraft. - {{ pin_subpackage('libraft', exact=True) }} + - {{ pin_subpackage('libraft-static', exact=True) }} - cuda-version ={{ cuda_version }} {% if cuda_major == "11" %} - cuda-profiler-api {{ cuda11_cuda_profiler_api_run_version }}