[libcxx-commits] [libcxx] f48f961 - [libc++] Install llvm-dev in the docker image
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Nov 29 15:48:50 PST 2022
Author: Nikolas Klauser
Date: 2022-11-30T00:48:45+01:00
New Revision: f48f9614536ca94cbc48bbc6842c2603edd84486
URL: https://github.com/llvm/llvm-project/commit/f48f9614536ca94cbc48bbc6842c2603edd84486
DIFF: https://github.com/llvm/llvm-project/commit/f48f9614536ca94cbc48bbc6842c2603edd84486.diff
LOG: [libc++] Install llvm-dev in the docker image
This is required to compile custom clang-tidy checks
Reviewed By: Mordante, #libc
Spies: libcxx-commits, arichardson
Differential Revision: https://reviews.llvm.org/D138728
Added:
Modified:
libcxx/utils/ci/Dockerfile
Removed:
################################################################################
diff --git a/libcxx/utils/ci/Dockerfile b/libcxx/utils/ci/Dockerfile
index 97261825f0a39..35999751001f3 100644
--- a/libcxx/utils/ci/Dockerfile
+++ b/libcxx/utils/ci/Dockerfile
@@ -84,6 +84,9 @@ RUN ln -s /usr/bin/git-clang-format-14 /usr/bin/git-clang-format && [ -e $(readl
RUN apt-get update && apt-get install -y clang-tidy-$(($LLVM_HEAD_VERSION - 1)) clang-tidy-$LLVM_HEAD_VERSION clang-tidy-14
RUN ln -s /usr/bin/clang-tidy-14 /usr/bin/clang-tidy && [ -e $(readlink /usr/bin/clang-tidy) ]
+# 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
+
# Install clang-tools
RUN apt-get update && apt-get install -y clang-tools-$(($LLVM_HEAD_VERSION - 1)) clang-tools-$LLVM_HEAD_VERSION
More information about the libcxx-commits
mailing list