feat: add support for clang v23 - #148
Open
shenxianpeng wants to merge 1 commit into
Open
Conversation
Ubuntu doesn't yet ship a release with clang-23 packaged, so this target installs it from apt.llvm.org via llvm.sh instead of the distro's own repos (unlike the existing per-version images). Verified locally: docker buildx bake 23 builds and passes the version-integrity check.
|
| RUN set -e \ | ||
| && apt-get update \ | ||
| && apt-get --no-install-recommends -y install gnupg lsb-release software-properties-common wget \ | ||
| && wget --quiet https://apt.llvm.org/llvm.sh \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Summary
23image tag for clang-format/clang-tidy 23.llvm.shfrom apt.llvm.org, same mechanism already used inDockerfile.allfor versions 13-21.Dockerfile.llvm-aptkeeps this apt.llvm.org install path isolated from the existingDockerfile(distro-repo based), so the other version targets are untouched.Test plan
docker buildx bake --file docker-bake.hcl --printvalidates and shows target23docker buildx bake 23 --set 23.output=type=docker --load; image builds and the built-in version-integrity check passes (clang-format-23/clang-tidy-23both report23.1.1)clang-format/clang-tidysymlinks resolve to the v23 binaries