Skip to content

setup-llvm: try ubuntu archive before apt-llvm.org on flavor=system.#74

Merged
vgvassilev merged 1 commit into
compiler-research:mainfrom
vgvassilev:setup-llvm-try-direct-apt-first
May 13, 2026
Merged

setup-llvm: try ubuntu archive before apt-llvm.org on flavor=system.#74
vgvassilev merged 1 commit into
compiler-research:mainfrom
vgvassilev:setup-llvm-try-direct-apt-first

Conversation

@vgvassilev
Copy link
Copy Markdown
Contributor

The Linux system path went straight to apt-llvm.org, whose codename coverage tracks recent majors only -- noble starts at llvm-17, jammy starts at llvm-14. Consumer matrices with older majors on those codenames hit does not have a Release file even though the ubuntu archive itself carries the package (jammy ships llvm-11..14 directly, noble ships llvm-14..16).

Probe apt-cache show llvm-N-dev first; install from the archive when present, fall back to apt-llvm.org otherwise. This matches the install ladder consumers had inline before adopting this action (clad's pre-migration ci.yml is the reference). The verify-side smoke matrixes the existing test over version: ['20', '14'] -- 20 forces apt-llvm.org, 14 stays in the noble archive -- so each branch is exercised on every PR.

The Linux system path went straight to apt-llvm.org, whose codename
coverage tracks recent majors only -- noble starts at llvm-17,
jammy starts at llvm-14. Consumer matrices with older majors on
those codenames hit `does not have a Release file` even though the
ubuntu archive itself carries the package (jammy ships llvm-11..14
directly, noble ships llvm-14..16).

Probe `apt-cache show llvm-N-dev` first; install from the archive
when present, fall back to apt-llvm.org otherwise. This matches the
install ladder consumers had inline before adopting this action
(clad's pre-migration ci.yml is the reference). The verify-side
smoke matrixes the existing test over `version: ['20', '14']` --
20 forces apt-llvm.org, 14 stays in the noble archive -- so each
branch is exercised on every PR.
@vgvassilev vgvassilev merged commit 74aeadd into compiler-research:main May 13, 2026
12 checks passed
@vgvassilev vgvassilev deleted the setup-llvm-try-direct-apt-first branch May 13, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant