[Github] Install llvm-tools in libc container (#210414)

Currently, the libc container doesn't contain `llvm-tools`. we need to
use them in #200196 because we are not able to use `llvm-lit` without
building clang from source
This commit is contained in:
hulxv 2026-07-19 02:40:30 +03:00 committed by GitHub
parent 0e3d17a080
commit 84b9da663e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,6 +45,12 @@ 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
RUN wget https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.xz && \
tar -xf gmp-6.3.0.tar.xz && \