[libc++] Install llvm-16-dev explicitly until LLVM16 is stable
authorNikolas Klauser <nikolasklauser@berlin.de>
Thu, 15 Dec 2022 00:42:12 +0000 (01:42 +0100)
committerNikolas Klauser <nikolasklauser@berlin.de>
Fri, 16 Dec 2022 15:50:17 +0000 (16:50 +0100)
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

index 3599975..2db95fc 100644 (file)
@@ -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