Backport "Default to static linking of libcudart"#1918
Merged
rapids-bot[bot] merged 1 commit intorapidsai:release/26.04from Mar 16, 2026
Merged
Backport "Default to static linking of libcudart"#1918rapids-bot[bot] merged 1 commit intorapidsai:release/26.04from
rapids-bot[bot] merged 1 commit intorapidsai:release/26.04from
Conversation
## Summary - Enable static linking of libcudart by default (`CUDA_STATIC_RUNTIME=ON`) - Remove `cuda-cudart` from conda recipe run requirements (no longer needed when statically linked) This is part of a RAPIDS-wide effort to switch to static CUDA runtime linking. See rapidsai/build-planning#235 for tracking. ## Changes - `cpp/CMakeLists.txt`: Change `CUDA_STATIC_RUNTIME` default from OFF to ON - `conda/recipes/cuvs/recipe.yaml`: Remove `cuda-cudart` from run deps - `conda/recipes/libcuvs/recipe.yaml`: Remove `cuda-cudart` from run deps (4 outputs) Note: Python builds already use `CUDA_STATIC_RUNTIME=ON` (set in `python/libcuvs/CMakeLists.txt`). Authors: - Bradley Dice (https://github.com/bdice) - Kyle Edwards (https://github.com/KyleFromNVIDIA) Approvers: - Kyle Edwards (https://github.com/KyleFromNVIDIA) - Robert Maynard (https://github.com/robertmaynard) - Ben Frederickson (https://github.com/benfred) URL: rapidsai#1627
bdice
approved these changes
Mar 16, 2026
Member
Author
|
/merge |
41a661f
into
rapidsai:release/26.04
150 of 153 checks passed
KyleFromNVIDIA
added a commit
to KyleFromNVIDIA/cuvs
that referenced
this pull request
Mar 16, 2026
Since rapidsai#1909, we've been able to use older versions of the CUDA driver, since we no longer rely on `cudaLibraryEnumerateKernels()`. Since rapidsai#1918, we've been using static cudart, which allows us to run on platforms with versions of CUDA older than 12.8 installed, since the runtime library API is now bundled with cuvs. Always build with JIT+LTO so that we can get the full compile time and binary size benefits in CUDA 12 too.
KyleFromNVIDIA
added a commit
to KyleFromNVIDIA/cuvs
that referenced
this pull request
Mar 16, 2026
)" This reverts commit 41a661f.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Backport #1627