-
Notifications
You must be signed in to change notification settings - Fork 199
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
Update to CMake 3.20 features, rapids-cmake
and CPM
#187
Conversation
Removing |
cpp/test/CMakeLists.txt
Outdated
set_target_properties(test_raft | ||
PROPERTIES BUILD_RPATH "\$ORIGIN" | ||
# set target compile options | ||
CXX_STANDARD 14 |
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 believe you can now require c++17 for both CXX
and CUDA
cpp/CMakeLists.txt
Outdated
@@ -127,6 +128,7 @@ INTERFACE | |||
CUDA::cudart | |||
CUDA::cusparse | |||
rmm::rmm | |||
# cuco::cuco |
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.
? should this be commented out?
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 totally forgot to un-comment it, since it is not used ye. But an upcoming PR (#207) requires it (so added it here to aid there). Will go ahead and un-comment it preemptively
rapids-cmake
and CPM
@gpucibot merge |
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.
Approving just because it needs my review for whatever reason this keeps happening for..
Depends on rapidsai/raft#187 Based on the work started by @mdemoret-nv on https://github.com/mdemoret-nv/cuml/tree/imp-modernize-cmake with updates for CPM, rapids-cmake and consistency with the equivalent PRs in RAFT and cuGraph Details of changes will be added soon cc @trxcllnt and @robertmaynard for viz Authors: - Dante Gama Dessavre (https://github.com/dantegd) - Michael Demoret (https://github.com/mdemoret-nv) Approvers: - Robert Maynard (https://github.com/robertmaynard) - AJ Schmidt (https://github.com/ajschmidt8) - John Zedlewski (https://github.com/JohnZed) URL: #3844
Depends on rapidsai/raft#187 Based on the work started by @mdemoret-nv on https://github.com/mdemoret-nv/cuml/tree/imp-modernize-cmake with updates for CPM, rapids-cmake and consistency with the equivalent PRs in RAFT and cuGraph Details of changes will be added soon cc @trxcllnt and @robertmaynard for viz Authors: - Dante Gama Dessavre (https://github.com/dantegd) - Michael Demoret (https://github.com/mdemoret-nv) Approvers: - Robert Maynard (https://github.com/robertmaynard) - AJ Schmidt (https://github.com/ajschmidt8) - John Zedlewski (https://github.com/JohnZed) URL: rapidsai#3844
This changes the build_index method to build in the python API for cagra. All of the other python api's use a `build` method for building the index, as do both the C++ and Rust api's as well. Authors: - Ben Frederickson (https://github.com/benfred) Approvers: - Corey J. Nolet (https://github.com/cjnolet) URL: rapidsai/cuvs#187
PR updates RAFT's CMake and uses CPM for dependency management. Still WIP, meant for early 0.20, but opening the PR to start debugging in CI.
This is heavily based on cuDF's, RMM's and cumlprims' changes. PR does the following: