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

Add IWYU to CI #17078

Draft
wants to merge 9 commits into
base: branch-24.12
Choose a base branch
from
Draft

Add IWYU to CI #17078

wants to merge 9 commits into from

Conversation

vyasr
Copy link
Contributor

@vyasr vyasr commented Oct 14, 2024

Description

This PR adds include-what-you-use to the CI job running clang-tidy. Like clang-tidy, IWYU runs via CMake integration and only runs on cpp files, not cu files. This should help us shrink binaries and reduce compilation times in cases where headers are being included unnecessarily. The proposed additions should have no practical impact (as long as suitable header guards are in place) since the files must already be included somewhere in the include tree for the code to be compiling successfully.

Resolves #581.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@vyasr vyasr added feature request New feature or request non-breaking Non-breaking change labels Oct 14, 2024
@vyasr vyasr self-assigned this Oct 14, 2024
@github-actions github-actions bot added libcudf Affects libcudf (C++/CUDA) code. CMake CMake build issue labels Oct 14, 2024
@vyasr vyasr changed the title Test Add IWYU to CI Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMake CMake build issue feature request New feature or request libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compile times are growing significantly
1 participant