You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "xinghuayu007 (via GitHub)" <gi...@apache.org> on 2025/11/05 07:32:33 UTC
[I] Use clang-tidy to check cpp files [incubator-gluten]
xinghuayu007 opened a new issue, #11027:
URL: https://github.com/apache/incubator-gluten/issues/11027
### Description
Use clang-tidy to check cpp files to make code robot.
1. Install clang-tidy tool
Download the tool from: https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.8/clang+llvm-18.1.8-x86_64-linux-gnu-ubuntu-18.04.tar.xz
3. Compile the code
bash dev/builddeps-veloxbe.sh
4. run clang-tidy check script
python3 cpp/run-clang-tidy.py --fix fix --build-dir cpp/build/ --project-root /app/incubator-gluten
### Gluten version
None
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org