-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only install necessary components in conda packages. #2209
Merged
rapids-bot
merged 15 commits into
rapidsai:branch-24.04
from
bdice:conda-libraft-compiled-component-only
Mar 7, 2024
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
e645fb2
Only install compiled component in build_libraft.sh.
bdice 00b1d0e
Use component raft for header-only package.
bdice c101777
Add hnswlib component.
bdice 2f18cec
Also install hnswlib headers.
bdice 2318061
Merge branch 'branch-24.04' into conda-libraft-compiled-component-only
bdice 26bdafd
Fix style.
bdice 16bf75e
Ensure users of libraft find the CCCL package provied by librmm
robertmaynard cfda6ac
Add debug lines
robertmaynard e08c6c3
Revert "Ensure users of libraft find the CCCL package provied by librmm"
robertmaynard 12372b4
Merge remote-tracking branch 'upstream/branch-24.04' into conda-libra…
bdice 411262b
Revert changes to build_libraft_headers.sh and hnswlib install rules.
bdice cff0977
Use benchmark conda package instead of building it.
bdice 49474da
Add --compile-lib. Without this flag, both the shared and static libr…
bdice ae9e5b1
Fix copyright.
bdice baed39a
Try building tests with a host dependency on libraft-static.
bdice File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Copyright (c) 2022-2023, NVIDIA CORPORATION. | ||
# Copyright (c) 2022-2024, NVIDIA CORPORATION. | ||
|
||
./build.sh libraft --allgpuarch --compile-lib --build-metrics=compile_lib --incl-cache-stats --no-nvtx | ||
./build.sh libraft --allgpuarch --compile-lib --build-metrics=compile_lib --incl-cache-stats --no-nvtx -n | ||
cmake --install cpp/build --component compiled | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
#!/usr/bin/env bash | ||
# Copyright (c) 2022-2023, NVIDIA CORPORATION. | ||
# Copyright (c) 2022-2024, NVIDIA CORPORATION. | ||
|
||
# We must install everything (not just the "raft" component) because some | ||
# dependencies like cuCollections and cutlass place their install rules in the | ||
# "all" component. | ||
./build.sh libraft --allgpuarch --no-nvtx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/usr/bin/env bash | ||
# Copyright (c) 2022-2023, NVIDIA CORPORATION. | ||
# Copyright (c) 2022-2024, NVIDIA CORPORATION. | ||
|
||
./build.sh tests bench-prims --allgpuarch --no-nvtx --build-metrics=tests_bench_prims --incl-cache-stats | ||
cmake --install cpp/build --component testing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,9 @@ cmake_version: | |
nccl_version: | ||
- ">=2.9.9" | ||
|
||
gbench_version: | ||
- "==1.8.0" | ||
|
||
gtest_version: | ||
- ">=1.13.0" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This now looks a lot like https://github.com/rapidsai/raft/blob/branch-24.04/conda/recipes/libraft/build_libraft_static.sh except installing the
compiled
component rather thancompiled-static
.