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

Refactor CMakeLists.txt to better express usage requirements #4309

Merged

Conversation

robertmaynard
Copy link
Contributor

Previously the cugraph CMakeLists.txt genernated non-relocatable targets due to embedding absolute paths to RAFT and the CUDAToolkit. While refactoring those issues out I also made a general cleanup pass over the rest of the CMake code.

@robertmaynard robertmaynard added bug Something isn't working non-breaking Non-breaking change labels Apr 3, 2024
Copy link
Contributor

@vyasr vyasr left a comment

Choose a reason for hiding this comment

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

Thanks for doing this Robert! I can rebase the wheels work on this once it's merged and it should help clean up quite a few things. Also, removing the unnecessary NCCL linkage from the library should substantially reduce the wheel sizes in #4297, which is exciting. I have a few questions here but nothing blocking, feel free to resolve as you see fit and then merge.

cpp/CMakeLists.txt Show resolved Hide resolved
cpp/tests/CMakeLists.txt Show resolved Hide resolved
cpp/tests/CMakeLists.txt Show resolved Hide resolved
cpp/tests/CMakeLists.txt Show resolved Hide resolved
cpp/tests/CMakeLists.txt Show resolved Hide resolved
cpp/CMakeLists.txt Outdated Show resolved Hide resolved
Copy link
Collaborator

@ChuckHastings ChuckHastings left a comment

Choose a reason for hiding this comment

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

This looks good to me. I provided a little feedback. Happy to approve unless there are reactions to my comments.

cpp/tests/CMakeLists.txt Show resolved Hide resolved
cpp/tests/CMakeLists.txt Show resolved Hide resolved
@robertmaynard
Copy link
Contributor Author

/merge

@ChuckHastings
Copy link
Collaborator

/merge

@rapids-bot rapids-bot bot merged commit 80d0ecb into rapidsai:branch-24.06 Apr 15, 2024
131 checks passed
@robertmaynard robertmaynard deleted the fea/refactor_cmakelists branch April 15, 2024 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CMake cuGraph non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants