-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prefer wheel-provided libraries, use RTLD_LOCAL (#13)
## Description Contributes to rapidsai/build-planning#118 Modifies `libucx.load_library()` in the following ways: * prefer wheel-provided shared libraries to system installation * expose environment variable `RAPIDS_LIBUCX_PREFER_SYSTEM_LIBRARY` for switching that preference * load libraries with `RTLD_LOCAL`, to prevent adding symbols to the global namespace ([dlopen docs](https://linux.die.net/man/3/dlopen)) Also updates all the `pre-commit` hook versions while I'm touching this repo. That was harmless, and I especially wanted to get up to the latest version of the RAPIDS copyright hook. ## Notes for Reviewers ### Version changes? Proposing starting with `1.15.0.post2` because it's the oldest version supported at build and runtime by `ucxx` ([code link](https://github.com/rapidsai/ucxx/blob/73e2102406a78527b1f4c1ca4bde29158bee06a1/dependencies.yaml#L482)). And doing the following, in this order: 1. merge this PR 2. in a `ucxx` PR, test with these packages 3. publish 1.15.0.post2 packages (via manually triggering CI run here) 4. put up PRs to publish each of the other versions (https://pypi.org/project/libucx-cu12/#history) * 1.14.0.post2 * 1.16.0.post2 * 1.17.0.post1 (there was never a 1.17.0.post1) --------- Co-authored-by: Vyas Ramasubramani <[email protected]>
- Loading branch information
Showing
4 changed files
with
52 additions
and
23 deletions.
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
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 +1 @@ | ||
1.17.0 | ||
1.15.0.post2 |
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
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