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

Merged
merged 2 commits into from
Oct 13, 2021

Conversation

robertmaynard
Copy link
Collaborator

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.

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

rapids-bot bot pushed a commit to rapidsai/cudf that referenced this pull request Aug 20, 2021
Fixes #9073.

Adds explicit fetching of rapids-cmake v21.10 to work around build issues outside of the conda environment caused by NVIDIA/cuCollections#104.

Authors:
  - Jason Lowe (https://github.com/jlowe)

Approvers:
  - Robert Maynard (https://github.com/robertmaynard)
  - Alessandro Bellina (https://github.com/abellina)

URL: #9075
@robertmaynard
Copy link
Collaborator Author

rerun tests

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.

By using `RAPIDS.cmake` we can resolve this issue and remove the new complex
logic from each consumer.
@trxcllnt
Copy link
Member

@jrhemstad can we merge this soon? We need it for the raft-dependency-consolidation PRs.

@jrhemstad jrhemstad merged commit 23c9a1f into NVIDIA:dev Oct 13, 2021
@robertmaynard robertmaynard deleted the use_latest_rapids_cmake branch January 18, 2022 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants