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

Use the new RAPIDS.cmake to fetch rapids-cmake #838

Conversation

robertmaynard
Copy link
Contributor

@robertmaynard robertmaynard commented Jul 26, 2021

The original approach of using FetchContent naively has a subtle bug when multiple projects that use rapids-cmake are combined together inside as sibling projects. This bug causes any include(rapids-*) commands to fail, causing CMake errors.

But using RAPIDS.cmake we can resolve this issue and remove the new complex logic from each consumer.

The original approach of using FetchContent naively has a subtle
bug when multiple projects that use rapids-cmake are combined together inside as sibling projects. This bug causes any
`include(rapids-*)` commands to fail, causing CMake errors.

Bug using `RAPIDS.cmake` we can resolve this issue and remove
the new complex logic from each consumer.
@robertmaynard robertmaynard added bug Something isn't working 3 - Ready for review Ready for review by team CMake non-breaking Non-breaking change labels Jul 26, 2021
@robertmaynard robertmaynard requested a review from a team as a code owner July 26, 2021 19:48
@harrism
Copy link
Member

harrism commented Jul 27, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 561be10 into rapidsai:branch-21.10 Jul 27, 2021
@robertmaynard robertmaynard deleted the fea/update_to_rapids_cmakedownload_api branch July 29, 2021 17:29
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 bug Something isn't working CMake non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants