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

Conversation

robertmaynard
Copy link
Contributor

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.

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 non-breaking Non-breaking change CMake labels Jul 26, 2021
@robertmaynard robertmaynard requested a review from a team as a code owner July 26, 2021 19:48
@dantegd
Copy link
Member

dantegd commented Jul 26, 2021

@gpucibot merge

@robertmaynard
Copy link
Contributor Author

rerun tests

@codecov-commenter
Copy link

Codecov Report

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

Impacted file tree graph

@@               Coverage Diff               @@
##             branch-21.10    #4102   +/-   ##
===============================================
  Coverage                ?   85.87%           
===============================================
  Files                   ?      231           
  Lines                   ?    18320           
  Branches                ?        0           
===============================================
  Hits                    ?    15732           
  Misses                  ?     2588           
  Partials                ?        0           
Flag Coverage Δ
dask 48.13% <0.00%> (?)
non-dask 78.37% <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 c5a9f7f...d63a9d1. Read the comment docs.

@rapids-bot rapids-bot bot merged commit f305d16 into rapidsai:branch-21.10 Jul 27, 2021
@robertmaynard robertmaynard deleted the fea/update_to_rapids_cmakedownload_api branch August 18, 2021 12:52
vimarsh6739 pushed a commit to vimarsh6739/cuml that referenced this pull request Oct 9, 2023
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.

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

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

URL: rapidsai#4102
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 CUDA/C++ non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants