[llvm] [Github] Install `llvm-tools` in libc container (PR #210414)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 18 16:29:51 PDT 2026
https://github.com/hulxv updated https://github.com/llvm/llvm-project/pull/210414
>From 2300b53090ee6f00f814ffd4a65636d87aee0fee Mon Sep 17 00:00:00 2001
From: hulxv <hulxxv at gmail.com>
Date: Sat, 18 Jul 2026 22:37:49 +0300
Subject: [PATCH 1/2] [Github] Install `llvm-tools` in libc container
---
.github/workflows/containers/libc/Dockerfile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.github/workflows/containers/libc/Dockerfile b/.github/workflows/containers/libc/Dockerfile
index 69f5b11cead62..063eb76326fb3 100644
--- a/.github/workflows/containers/libc/Dockerfile
+++ b/.github/workflows/containers/libc/Dockerfile
@@ -45,6 +45,8 @@ RUN wget https://apt.llvm.org/llvm.sh && \
sudo ./llvm.sh 23 && \
rm llvm.sh
+RUN apt-get install -y llvm-23-tools
+
# Install gmp and mpfr for cross compilation
RUN wget https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.xz && \
tar -xf gmp-6.3.0.tar.xz && \
>From 84dcbea4609baac9bb213574f177ee596c422634 Mon Sep 17 00:00:00 2001
From: hulxv <hulxxv at gmail.com>
Date: Sun, 19 Jul 2026 02:29:38 +0300
Subject: [PATCH 2/2] add comment
---
.github/workflows/containers/libc/Dockerfile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.github/workflows/containers/libc/Dockerfile b/.github/workflows/containers/libc/Dockerfile
index 063eb76326fb3..b497dc7159b5d 100644
--- a/.github/workflows/containers/libc/Dockerfile
+++ b/.github/workflows/containers/libc/Dockerfile
@@ -45,6 +45,10 @@ RUN wget https://apt.llvm.org/llvm.sh && \
sudo ./llvm.sh 23 && \
rm llvm.sh
+# Install the LLVM testing tools, which the llvm.sh script above does not
+# include. This provides lit (as lit-23) along with FileCheck, not, count and
+# split-file, which are required to run the libc test suites and some CIs like
+# precommit testing CI for libc-based compiler-rt builtins.
RUN apt-get install -y llvm-23-tools
# Install gmp and mpfr for cross compilation
More information about the llvm-commits
mailing list