Skip to content

[libcxx] Fix container build and bump clang version #153035

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

boomanaiden154
Copy link
Contributor

This patch fixes the libcxx container build. There was a missing env variable that would cause the containers to not be built. Now that clang 22 is out, we also want to bump the LLVM head version to 22.

This patch fixes the libcxx container build. There was a missing env variable
that would cause the containers to not be built. Now that clang 22 is out, we
also want to bump the LLVM head version to 22.
@boomanaiden154 boomanaiden154 requested a review from a team as a code owner August 11, 2025 15:34
@llvmbot llvmbot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Aug 11, 2025
@llvmbot
Copy link
Member

llvmbot commented Aug 11, 2025

@llvm/pr-subscribers-libcxx

Author: Aiden Grossman (boomanaiden154)

Changes

This patch fixes the libcxx container build. There was a missing env variable that would cause the containers to not be built. Now that clang 22 is out, we also want to bump the LLVM head version to 22.


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

1 Files Affected:

  • (modified) libcxx/utils/ci/docker-compose.yml (+8-8)
diff --git a/libcxx/utils/ci/docker-compose.yml b/libcxx/utils/ci/docker-compose.yml
index 36b8dd77c47fb..a024b7d36d0b8 100644
--- a/libcxx/utils/ci/docker-compose.yml
+++ b/libcxx/utils/ci/docker-compose.yml
@@ -1,6 +1,10 @@
 x-versions: &compiler_versions
   GCC_HEAD_VERSION: 16
-  LLVM_HEAD_VERSION: 21
+  LLVM_HEAD_VERSION: 22
+
+x-image-versions: &image_versions
+  BASE_IMAGE: ubuntu:jammy
+  ACTIONS_BASE_IMAGE: builder-base
 
 services:
   builder-base:
@@ -10,8 +14,7 @@ services:
       dockerfile: Dockerfile
       target: builder-base
       args:
-        BASE_IMAGE: ubuntu:jammy
-        <<: *compiler_versions
+        <<: [*image_versions, *compiler_versions]
 
   actions-builder:
     image: ghcr.io/llvm/libcxx-linux-builder:${TAG}
@@ -20,10 +23,8 @@ services:
       dockerfile: Dockerfile
       target: actions-builder
       args:
-        BASE_IMAGE: ubuntu:jammy
-        ACTIONS_BASE_IMAGE: builder-base
         GITHUB_RUNNER_VERSION: "2.326.0"
-        <<: *compiler_versions
+        <<: [*image_versions, *compiler_versions]
 
   android-buildkite-builder:
     image: ghcr.io/llvm/libcxx-android-builder:${TAG}
@@ -32,8 +33,7 @@ services:
       dockerfile: Dockerfile
       target: android-buildkite-builder
       args:
-        BASE_IMAGE: ubuntu:noble
         ANDROID_CLANG_VERSION: r563880
         ANDROID_CLANG_PREBUILTS_COMMIT: 6ae4184bb8706f9731569b9a0a82be3fcdcb951c
         ANDROID_SYSROOT_COMMIT: f8b85cc5262c6e5cbc9a92c1bab2b18b32a4c63f
-        <<: *compiler_versions
+        <<: [*image_versions, *compiler_versions]

@boomanaiden154 boomanaiden154 requested a review from cmtice August 11, 2025 16:21
@cmtice
Copy link
Contributor

cmtice commented Aug 11, 2025

LGTM, but I'd like one of the libc++ maintainers to approve this too.

Copy link
Contributor

@philnik777 philnik777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM.

@boomanaiden154 boomanaiden154 merged commit 77cb098 into llvm:main Aug 11, 2025
67 of 68 checks passed
@boomanaiden154 boomanaiden154 deleted the libcxx-fix-container-build-8-11-25 branch August 11, 2025 19:15
boomanaiden154 added a commit to boomanaiden154/llvm-zorg that referenced this pull request Aug 11, 2025
…23fa0be76

After llvm/llvm-project#153035 we have a new runner
image that should theoretically work. Set the next runner set to use it so we
can start testing.
boomanaiden154 added a commit to llvm/llvm-zorg that referenced this pull request Aug 11, 2025
After llvm/llvm-project#153035 we have a new
runner image that should theoretically work. Set the next runner set to
use it so we can start testing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants