Repository navigation
FIX: Install only clang, lld and llvm from apt.llvm.org - #63
Merged
Merged
Conversation
…mmends, rather than llvm.sh's lldb and clangd: lldb pulled libipt2 and some fifty more packages from the Ubuntu archive, and libipt2 was the one download that failed every Ubuntu job while that archive's Azure mirror would not resolve
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.
During the Azure Ubuntu mirror's DNS outage on 2026-11-11, every Ubuntu job of l3i failed in
setup-llvm.sh. They all failed on one download,libipt2, from the Ubuntu archive. Nothing StroggForge needs uses it:llvm.shinstalls lldb and clangd as well as clang and lld, andliblldbdepends onlibipt2.This adds the apt.llvm.org repository directly and installs
clang-N lld-N llvm-Nwith--no-install-recommends. It still usesllvm.sh's key, the per-major suite, and the unsuffixed suite for the major in development. apt treats an unreachable Ubuntu index as a warning, so the outage no longer fails the job.Validation
ubuntu:22.04container: setup took 10s. It installed 17 packages; a plain container needs 43 for clang, lld and llvm alone, against 100 forllvm.sh's set. No lldb, clangd or libipt2 was installed. clang, clang++, ld.lld, lld-link, llvm-ar, llvm-nm and llvm-objcopy are all LLVM 23.1.6, and a thin-LTO C++ program links with lld and runs.rust-setupafter ~490s.shellcheckandbash -npass.Shipping this takes a v72 bump. Until then, consumers on v71 recover when the mirror does.
🤖 Generated with Claude Code