Skip to content
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 with rapids cmake new features #4175

Conversation

robertmaynard
Copy link
Contributor

This combines some general CMake style cleanup and brings new rapids-cmake features to cuml including:

  • Usage of rapids_cmake_write_version_file to simplify cuml version header writing
  • Usage of rapids_cmake_install_lib_dir to make sure we install raft correctly on non-debain based distro's ( lib64 ), while also handling conda installation requirements ( always lib no matter the distro )
  • Usage of rapids_cpm pre-configured pacakges
  • Removal of early termination before rapids_cpm_find since a better solution now exists ( [BUG] rapids_cpm_find isn't as invariant as one would expect rapids-cmake#49 )
  • Updates the examples to use find_package(cuml) since that is best practice.

@robertmaynard robertmaynard requested review from a team as code owners August 24, 2021 19:56
@robertmaynard robertmaynard added 3 - Ready for Review Ready for review by team non-breaking Non-breaking change Tech Debt Issues related to debt improvement Improvement / enhancement to an existing function labels Aug 25, 2021
@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (branch-21.10@cae8034). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff               @@
##             branch-21.10    #4175   +/-   ##
===============================================
  Coverage                ?   85.96%           
===============================================
  Files                   ?      232           
  Lines                   ?    18503           
  Branches                ?        0           
===============================================
  Hits                    ?    15907           
  Misses                  ?     2596           
  Partials                ?        0           
Flag Coverage Δ
dask 47.77% <0.00%> (?)
non-dask 78.57% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cae8034...6a56a5a. Read the comment docs.

@caryr35 caryr35 added this to PR-WIP in v21.10 Release via automation Aug 25, 2021
@caryr35 caryr35 moved this from PR-WIP to PR-Needs review in v21.10 Release Aug 25, 2021
Copy link
Member

@dantegd dantegd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR looks great, very happy to see the improvements in RAPIDS-cmake!

v21.10 Release automation moved this from PR-Needs review to PR-Reviewer approved Aug 25, 2021
@dantegd
Copy link
Member

dantegd commented Aug 25, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 8b6bd1c into rapidsai:branch-21.10 Aug 25, 2021
v21.10 Release automation moved this from PR-Reviewer approved to Done Aug 25, 2021
@robertmaynard robertmaynard deleted the fea/update_with_rapids_cmake_new_features branch August 25, 2021 18:36
vimarsh6739 pushed a commit to vimarsh6739/cuml that referenced this pull request Oct 9, 2023
This combines some general CMake style cleanup and brings new rapids-cmake features to cuml including:

- Usage of `rapids_cmake_write_version_file` to simplify cuml version header writing
- Usage of `rapids_cmake_install_lib_dir` to make sure we install raft correctly on non-debain based distro's ( lib64 ), while also handling conda installation requirements ( always lib no matter the distro )
- Usage of `rapids_cpm` pre-configured pacakges
- Removal of early termination before `rapids_cpm_find` since a better solution now exists ( rapidsai/rapids-cmake#49 )
- Updates the examples to use `find_package(cuml)` since that is best practice.

Authors:
  - Robert Maynard (https://github.com/robertmaynard)

Approvers:
  - Dante Gama Dessavre (https://github.com/dantegd)

URL: rapidsai#4175
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team CMake CUDA/C++ improvement Improvement / enhancement to an existing function non-breaking Non-breaking change Tech Debt Issues related to debt
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants