[llvm] Install llvm 23 in libc docker image (PR #210929)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 21 03:12:55 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-github-workflow

Author: jinge90

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/210929.diff


1 Files Affected:

- (modified) .github/workflows/containers/libc/Dockerfile (+4-2) 


``````````diff
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

``````````

</details>


https://github.com/llvm/llvm-project/pull/210929


More information about the llvm-commits mailing list