-
Notifications
You must be signed in to change notification settings - Fork 68
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
Simplify libcuvs conda recipe. #322
Simplify libcuvs conda recipe. #322
Conversation
@@ -129,7 +129,8 @@ outputs: | |||
- ninja | |||
- {{ stdlib("c") }} | |||
host: | |||
- libraft ={{ minor_version }} | |||
- librmm ={{ minor_version }} |
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 librmm
here because we #include
it in libcuvs.
@@ -54,10 +54,8 @@ requirements: | |||
- pylibraft {{ minor_version }} | |||
- libcuvs {{ version }} | |||
- python x.x | |||
- rmm ={{ minor_version }} |
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.
rmm
(Python) is not used directly in cuvs
Python code. It is not needed at build or run time.
@@ -248,6 +248,9 @@ outputs: | |||
- {{ compiler('cuda') }} | |||
- cuda-cudart-dev | |||
- libcublas-dev | |||
- libcurand-dev |
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.
These changes align libcuvs-examples
with the -tests
and other packages above. These are needed to build the examples, now that we're removing libraft
. Previously libraft
was supplying the CUDA math library dependencies.
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.
I have no additional concerns beyond @cjnolet comment at https://github.com/rapidsai/cuvs/pull/322/files#r1752508397
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.
LGTM. Thanks for these changes Bradley!
/merge |
This PR refactors the
libcuvs
conda recipe to uselibraft-headers-only
instead oflibraft
.I removed dependencies on
rmm
from thecuvs
build -- it is not imported.I included a couple small fixes in CMake and the
cuvs
recipe.