-
Notifications
You must be signed in to change notification settings - Fork 16
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
remove flake8, clang tools from wholegraph CMake #103
Conversation
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. |
/ok to test |
@@ -127,9 +127,6 @@ message(VERBOSE "PYLIBWHOLEGRAPH: Enable detection of conda environment for depe | |||
############################################################################## | |||
# - Compiler options --------------------------------------------------------- | |||
|
|||
# this is needed for clang-tidy runs | |||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON) | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just a cleanup, not a behavior change... this option is already set to ON
earlier in the same file.
set(CMAKE_EXPORT_COMPILE_COMMANDS ON) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for cleaning this up. seems good to me :)
Thanks @linhu-nv ! I might have one or two more coming like this, appreciate your help and patience 😊 |
/merge |
wholgraph
's CMake has some configuration to runflake8
,clang-tidy
, andclang-foramt
via CMake.This proposes removing it.
Notes for Reviewers
Risks to doing this?
I don't think any.
flake8
andclang-format
configs are unnecessary, as those are already run viapre-commit
here:cugraph-gnn/.pre-commit-config.yaml
Line 22 in 71675d8
cugraph-gnn/.pre-commit-config.yaml
Line 37 in 71675d8
The
clang-tidy
support must not actually be used today... it refers to a script that doesn't exist in this repo:cugraph-gnn/cpp/cmake/CodeChecker.cmake
Lines 42 to 43 in 71675d8
This code had been in the
wholegraph
repo for a while... it was added in June 2023 (rapidsai/wholegraph#24) and then never modified again.Benefits of doing this?
Similar to #102, I'm putting up PRs like this because I'm planning to attempt to add
libwholegraph
wheels, and want to simplify thewholegraph
/pylibwholegraph
CMake as much as possible before doing that, to reduce the implementation and reviewing effort.