[llvm] [Github] Bump CI containers to LLVM 23.1.1 (PR #223775)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 15 13:05:19 PDT 2026


https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/223775

>From 13bad0fce582b6aaf7ce249cad4507f77a1a32de Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Tue, 15 Sep 2026 18:10:22 +0000
Subject: [PATCH 1/4] [Github] Bump CI containers to LLVM 23.1.1

This means we no longer have -Wunused-template enabled by default, for
which the LLVM tree is still not clean.
---
 .../workflows/containers/github-action-ci-windows/Dockerfile    | 2 +-
 .github/workflows/containers/github-action-ci/Dockerfile        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/containers/github-action-ci-windows/Dockerfile b/.github/workflows/containers/github-action-ci-windows/Dockerfile
index 5f1a5887a6435..e517ea481b9e6 100644
--- a/.github/workflows/containers/github-action-ci-windows/Dockerfile
+++ b/.github/workflows/containers/github-action-ci-windows/Dockerfile
@@ -110,7 +110,7 @@ RUN powershell -Command \
     rm actions-runner-win.zip
 
 # Set the LLVM_VERSION environment variable
-ENV LLVM_VERSION=23.1.0
+ENV LLVM_VERSION=23.1.1
 
 # Download and extract Clang compiler.
 # Create directories, download, extract, and clean up all in one layer
diff --git a/.github/workflows/containers/github-action-ci/Dockerfile b/.github/workflows/containers/github-action-ci/Dockerfile
index 6028f168b1bf7..534a1f03a83b7 100644
--- a/.github/workflows/containers/github-action-ci/Dockerfile
+++ b/.github/workflows/containers/github-action-ci/Dockerfile
@@ -2,7 +2,7 @@ FROM docker.io/library/ubuntu:24.04 AS base
 ENV LLVM_SYSROOT=/opt/llvm
 
 FROM base AS stage1-toolchain
-ENV LLVM_VERSION=23.1.0
+ENV LLVM_VERSION=23.1.1
 
 RUN apt-get update && \
     apt-get install -y \

>From 9562e0a91ba0076be53b1dac589a345e17a8dd14 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Tue, 15 Sep 2026 19:56:22 +0000
Subject: [PATCH 2/4] fix

---
 .github/workflows/build-ci-container.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.github/workflows/build-ci-container.yml b/.github/workflows/build-ci-container.yml
index 8329209fed099..3b3d3239c424b 100644
--- a/.github/workflows/build-ci-container.yml
+++ b/.github/workflows/build-ci-container.yml
@@ -42,6 +42,14 @@ jobs:
           sparse-checkout: |
             .github/workflows/containers/github-action-ci/
             .github/actions/build-container
+      
+      # TODO(boomanaiden154): This is a temporary work-around for AArch64 that
+      # we should remove once the depot images no longer have the lock in them
+      # by default.
+      - name: Clear apt-get lock
+        if: runner.arch == 'ARM64'
+        run: |
+          sudo rm -rf /var/lib/dpkg/lock-frontend
 
       - name: Build Container
         uses: ./.github/actions/build-container

>From 3aefe9ebce3aea3397346462df7d70cc5ceba2f9 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Tue, 15 Sep 2026 20:01:07 +0000
Subject: [PATCH 3/4] Fix2

---
 .github/workflows/build-ci-container.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build-ci-container.yml b/.github/workflows/build-ci-container.yml
index 3b3d3239c424b..bfa98add8fd26 100644
--- a/.github/workflows/build-ci-container.yml
+++ b/.github/workflows/build-ci-container.yml
@@ -49,7 +49,7 @@ jobs:
       - name: Clear apt-get lock
         if: runner.arch == 'ARM64'
         run: |
-          sudo rm -rf /var/lib/dpkg/lock-frontend
+          sudo rm -rf /var/lib/dpkg/lock*
 
       - name: Build Container
         uses: ./.github/actions/build-container

>From b241592f45e03316a62a503a7876e5008bb53101 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Tue, 15 Sep 2026 20:05:06 +0000
Subject: [PATCH 4/4] fix3

---
 .github/workflows/build-ci-container.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/build-ci-container.yml b/.github/workflows/build-ci-container.yml
index bfa98add8fd26..6ff629d5c6152 100644
--- a/.github/workflows/build-ci-container.yml
+++ b/.github/workflows/build-ci-container.yml
@@ -49,6 +49,7 @@ jobs:
       - name: Clear apt-get lock
         if: runner.arch == 'ARM64'
         run: |
+          sudo dpkg --configure -a
           sudo rm -rf /var/lib/dpkg/lock*
 
       - name: Build Container



More information about the llvm-commits mailing list