[llvm] Install llvm 23 in libc docker image (PR #210929)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 21 03:12:20 PDT 2026
https://github.com/jinge90 created https://github.com/llvm/llvm-project/pull/210929
None
>From 6f589cc64614666621561a1c28d488d2d1fffa07 Mon Sep 17 00:00:00 2001
From: jinge90 <ge.jin at intel.com>
Date: Tue, 21 Jul 2026 18:09:22 +0800
Subject: [PATCH] Install llvm 23 in libc docker image
Signed-off-by: jinge90 <ge.jin at intel.com>
---
.github/workflows/containers/libc/Dockerfile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/containers/libc/Dockerfile b/.github/workflows/containers/libc/Dockerfile
index 1367b89fab104..1794ea3f3da8b 100644
--- a/.github/workflows/containers/libc/Dockerfile
+++ b/.github/workflows/containers/libc/Dockerfile
@@ -51,8 +51,10 @@ RUN wget https://apt.llvm.org/llvm.sh && \
# testing CI for libc-based compiler-rt builtins. The package only symlinks
# the tools into /usr/bin under versioned names (lit-23, FileCheck-23, ...),
# so also symlink them under their canonical names.
-RUN apt-get install -y llvm-23-tools && \
- ln -s -t /usr/bin $(dpkg -L llvm-23-tools | grep '^/usr/lib/llvm-23/bin/')
+# Also install LLVM tools to include llvm-link, we use it to build bitcode
+# for GPU targets.
+RUN apt-get install -y llvm-23-tools llvm-23 && \
+ ln -s -t /usr/bin $(dpkg -L llvm-23-tools llvm-23 | grep '^/usr/lib/llvm-23/bin/')
# Install gmp and mpfr for cross compilation
More information about the llvm-commits
mailing list