Skip to content

Commit

Permalink
Try building tests with a host dependency on libraft-static.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice committed Mar 6, 2024
1 parent ae9e5b1 commit baed39a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion conda/recipes/libraft/build_libraft_tests.sh
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions conda/recipes/libraft/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit baed39a

Please sign in to comment.