From 06e37c1853732b3811b44128679429a1e09f395a Mon Sep 17 00:00:00 2001 From: Nikolas Klauser Date: Thu, 15 Dec 2022 01:42:12 +0100 Subject: [PATCH] [libc++] Install llvm-16-dev explicitly until LLVM16 is stable The clang-tidy checks can't be properly implemented before LLVM16 because the Clang CMake files don't provide the version before. Reviewed By: Mordante, #libc Spies: libcxx-commits, arichardson Differential Revision: https://reviews.llvm.org/D140071 --- libcxx/utils/ci/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libcxx/utils/ci/Dockerfile b/libcxx/utils/ci/Dockerfile index 3599975..2db95fc 100644 --- a/libcxx/utils/ci/Dockerfile +++ b/libcxx/utils/ci/Dockerfile @@ -87,6 +87,9 @@ RUN ln -s /usr/bin/clang-tidy-14 /usr/bin/clang-tidy && [ -e $(readlink /usr/bin # Install llvm-dev to compile custom clang-tidy checks RUN apt-get update && apt-get install llvm-$(($LLVM_HEAD_VERSION - 1))-dev llvm-$(($LLVM_HEAD_VERSION - 2))-dev +# TODO LLVM16 Don't install llvm-16-dev explicitly +RUN apt-get update && apt-get install llvm-16-dev + # Install clang-tools RUN apt-get update && apt-get install -y clang-tools-$(($LLVM_HEAD_VERSION - 1)) clang-tools-$LLVM_HEAD_VERSION -- 2.7.4