Skip to content

Commit

Permalink
chore: update clang-tidy to version 20
Browse files Browse the repository at this point in the history
  • Loading branch information
Taepper committed Aug 6, 2024
1 parent c90121a commit 7a02fc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ list(REMOVE_ITEM SRC_SILO_WITHOUT_MAIN "${CMAKE_SOURCE_DIR}/src/silo_api/api.cpp

option(BUILD_WITH_CLANG_TIDY "Build process clang-tidy")
if (NOT CMAKE_BUILD_TYPE STREQUAL Release AND BUILD_WITH_CLANG_TIDY)
find_program(CLANG_TIDY_EXE NAMES clang-tidy-19)
find_program(CLANG_TIDY_EXE NAMES clang-tidy-20)
if (NOT CLANG_TIDY_EXE)
message(SEND_ERROR "clang-tidy not found, aborting. You can run the build with '-D BUILD_WITH_CLANG_TIDY=OFF' to disable clang-tidy.")
else ()
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile_linter_dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN apt update \
lsb-release=11.1.0ubuntu4 \
&& wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc \
&& add-apt-repository 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy main' \
&& apt install -y clang-tidy-19 \
&& apt install -y clang-tidy-20 \
&& apt install -y jq \
&& apt install -y curl

Expand Down

0 comments on commit 7a02fc9

Please sign in to comment.