Joe McDonnell created IMPALA-14764:
--------------------------------------
Summary: Vendor run-clang-tidy.py from LLVM
Key: IMPALA-14764
URL: https://issues.apache.org/jira/browse/IMPALA-14764
Project: IMPALA
Issue Type: Task
Components: Infrastructure
Affects Versions: Impala 5.0.0
Reporter: Joe McDonnell
Currently, the run-clang-tidy.py script (used by the clang-tidy-ub2004
precommit job) comes from toolchain LLVM. LLVM 5's run-clang-tidy.py doesn't
support python 3, so it would require patching to run on newer systems like
Ubuntu 22. Maintaining patches in the toolchain is doable but annoying. Since
run-clang-tidy.py doesn't really have any dependency on a specific version of
clang, another option is to vendor the latest version of the script and
maintain it in our repository directly. This would decouple the script from
upgrades of LLVM/Clang.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]