[libc-commits] [libc] [libc] Fail configure if requested linting cannot run (PR #231001)
via libc-commits
libc-commits at lists.llvm.org
Sun Oct 11 08:58:22 PDT 2026
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {cmake-format}-->
:warning: CMake code formatter, cmake-format found issues in your code. :warning:
<details>
<summary>
You can fix this locally with the following command:
</summary>
``````````bash
python3 libc/utils/cmake_format.py -i libc/CMakeLists.txt
``````````
You can also preview the formatting diff without modifying files:
``````````bash
python3 libc/utils/cmake_format.py --dry-run --diff libc/CMakeLists.txt
``````````
</details>
<details>
<summary>
View the diff from cmake-format here.
</summary>
``````````diff
--- a/libc/CMakeLists.txt
+++ b/libc/CMakeLists.txt
@@ -444,7 +444,7 @@
# meaning "chosen by the user" on later reconfigures. A bootstrapping
# build picks up the clang-tidy that was built next to the compiler.
find_program(LIBC_CLANG_TIDY_DISCOVERED NAMES clang-tidy
- HINTS ${LLVM_TOOLS_BINARY_DIR})
+ HINTS ${LLVM_TOOLS_BINARY_DIR})
if(NOT LIBC_CLANG_TIDY_DISCOVERED)
message(FATAL_ERROR "
Linting is enabled but 'clang-tidy' is not found!
``````````
</details>
https://github.com/llvm/llvm-project/pull/231001
More information about the libc-commits
mailing list