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 #320

Conversation

robertmaynard
Copy link
Contributor

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

  • 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 )

Instead of early terminating before calling `rapids_cpm_find`
make sure the target is part of `GLOBAL_TARGETS` and rapids-cmake
will do the logic for you.

The is important as it will still allow rapids-cmake to record
the dependency and generate proper `<project>-config` files
with all correct dependencies.
@dantegd dantegd added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Aug 28, 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.

Changes look great, just a comment about the RMM pin

cpp/cmake/thirdparty/get_rmm.cmake Outdated Show resolved Hide resolved
Remove pinned raft version
@robertmaynard robertmaynard requested a review from dantegd August 31, 2021 13:16
@dantegd
Copy link
Member

dantegd commented Sep 9, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit f311247 into rapidsai:branch-21.10 Sep 9, 2021
@robertmaynard robertmaynard deleted the fea/update_with_rapids_cmake_new_features branch October 4, 2021 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMake cpp improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants