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 NANOARROW_DEBUG in clang-tidy builds #17476

Draft
wants to merge 11 commits into
base: branch-25.02
Choose a base branch
from

Conversation

vyasr
Copy link
Contributor

@vyasr vyasr commented Dec 2, 2024

Description

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 improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Dec 2, 2024
@vyasr vyasr self-assigned this Dec 2, 2024
Copy link

copy-pr-bot bot commented Dec 2, 2024

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@vyasr
Copy link
Contributor Author

vyasr commented Dec 2, 2024

/ok to test

@github-actions github-actions bot added libcudf Affects libcudf (C++/CUDA) code. CMake CMake build issue labels Dec 2, 2024
@vyasr
Copy link
Contributor Author

vyasr commented Dec 2, 2024

/ok to test

@vyasr
Copy link
Contributor Author

vyasr commented Dec 2, 2024

/ok to test

@vyasr
Copy link
Contributor Author

vyasr commented Dec 2, 2024

/ok to test

@vyasr
Copy link
Contributor Author

vyasr commented Dec 2, 2024

/ok to test

@vyasr
Copy link
Contributor Author

vyasr commented Dec 2, 2024

/ok to test

@vyasr
Copy link
Contributor Author

vyasr commented Dec 2, 2024

/ok to test

@vyasr
Copy link
Contributor Author

vyasr commented Dec 2, 2024

/ok to test

Copy link

@paleolimbot paleolimbot left a comment

Choose a reason for hiding this comment

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

Just a suggestion that might or might not do the trick. You could also try a higher level -DCMAKE_CXX_FLAGS_RELEASE=-DNANOARROW_DEBUG from cpp_linters.sh. If you have access to compile_commands.json, it might be worth checking that it actually contains -DNANOARROW_DEBUG for the files that are giving you errors.

cpp/cmake/thirdparty/get_nanoarrow.cmake Outdated Show resolved Hide resolved
@vyasr
Copy link
Contributor Author

vyasr commented Dec 3, 2024

/ok to test

@vyasr
Copy link
Contributor Author

vyasr commented Dec 3, 2024

@paleolimbot unfortunately yeah we're still seeing it with that change.

@vyasr
Copy link
Contributor Author

vyasr commented Dec 3, 2024

I should note that cudf is no longer running clang-tidy on tests, only our source, so we can drop our nanoarrow patching regardless of the outcome of other discussions in this thread.

@paleolimbot
Copy link

Oh no! I will try to make a minimal reproducer tomorrow...I see NANOARROW_DEBUG in the command so it's definitely making it there. You all aren't the last people that are going to want to run clang-tidy on something that includes nanoarrow and we need to figure it out at some point.

@vyasr
Copy link
Contributor Author

vyasr commented Dec 3, 2024

Sounds good. If it's helpful I can push out the other changes in this PR that simplify things and then you can use this branch to debug from instead of the previous one I had created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMake CMake build issue improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants