From db2216c7b24ddafa6c13af5a27f71d8fce8a38c4 Mon Sep 17 00:00:00 2001 From: Alexander Taepper Date: Wed, 30 Oct 2024 09:40:08 +0100 Subject: [PATCH] chore: fix linter to old version to temporarily fix the compilation issues --- CMakeLists.txt | 2 +- Dockerfile_linter_dependencies | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 865fc005e..085145e25 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -74,7 +74,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-20) + find_program(CLANG_TIDY_EXE NAMES clang-tidy-15) # TODO(#632) revert to 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 () diff --git a/Dockerfile_linter_dependencies b/Dockerfile_linter_dependencies index 040f8d703..fc5af634d 100644 --- a/Dockerfile_linter_dependencies +++ b/Dockerfile_linter_dependencies @@ -7,7 +7,7 @@ RUN apt update \ cmake python3-pip software-properties-common wget gnupg lsb-release \ && 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-20 \ + && apt install -y clang-tidy-15 \ && apt install -y jq \ && apt install -y curl