-
Notifications
You must be signed in to change notification settings - Fork 143
Introduce libcuvs-headers and libcuvs-static CMake components and conda packages
#1494
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
Open
divyegala
wants to merge
25
commits into
rapidsai:release/25.12
Choose a base branch
from
divyegala:cpp-headers-static-component
base: release/25.12
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 18 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
a8c862f
decouple distance type
divyegala ac63cd1
more updates
divyegala 1b6a045
more fixes
divyegala 681c457
fix
divyegala b677206
add patch to faiss
divyegala f23bb38
one more cast
divyegala 83625ef
combine faiss patches
divyegala 692cfc5
correct path
divyegala aae2a97
install c headers
divyegala 8055f35
correct dir structure
divyegala 1605aa3
separate components
divyegala 04558a6
find cuvs_cpp_headers in python
divyegala badbdbe
remove breaking change, make cuvs and cuvs_static separate packages
divyegala 3f67d1a
revert
divyegala 76fe703
put headers in main export list
divyegala 33200be
merge upstream
divyegala 1703c00
remove c api install from static conda package
divyegala afe06a8
Merge branch 'main' into cpp-headers-static-component
divyegala ad0cd41
Correct issues in adding cpp-headers target
robertmaynard ed34f0b
Correct issues found in CI / code review
robertmaynard ff2da42
remove out of date task comment
robertmaynard a35df39
Restore cuvs_cpp_headers
robertmaynard 3df7f5f
Correct style issues found by CI
robertmaynard e201577
Correct breaks in find_package(cuvs) found by devcontainers
robertmaynard c682ecd
Refactor generate_cuvs_export to auto bring in cuvs::cuvs_static
robertmaynard 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
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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 is very close to what we would want in a
-devpackage but perhaps reversed -- wherelibcuvswould be only runtime libs whilelibcuvs-devwould be runtime libs plus headers. See proposal in rapidsai/build-planning#46.What is our main goal in splitting out the headers? I am curious if that approach for
-devpackages still makes sense or not. It might be different in a world with JIT where runtime always requires headers.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.
We need the headers for both the cuvs and cuvs-static packages to work in a
-devsense, but don't want to have two conda packages that clobber the same headers so that is why they are incpp-headers.The extra complexity is that I am also planning for splitting out the
CAPI from the libcuvs conda package. That would allow us to havelibcuvs-c-devwhich only installs thelibcuvs.so,libcuvs_c.soand theCheadersIt looks like we match the proposal in 46