[CI] Use existing clang, don't install using llvm.sh - #9087
Merged
Merged
Conversation
Member
Author
|
Ok, looks like this works, marking ready for review, and updated the description. Build times are too noisy to see if there is a speedup, but using the system clang is certainly saving some time, and can avoid errors like the one linked in the description that got me onto this. |
tlively
approved these changes
Sep 9, 2026
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.
llvm.shfrom the LLVM project is a standard way to get LLVM, butit downloads lots of stuff we don't need (edit: I
thought it was downloading all those things from the error, but actually
it is just updating package info; less silly but still wasteful overall)
We can just use clang from the runner in most cases. Do that,
and use a newer ubuntu in the one place we need newer clang
(for clang-format-21).