Skip to content

Support LLVM prerelease distributions - #829

Merged
helly25 merged 1 commit into
bazel-contrib:masterfrom
helly25:support-llvm-prereleases
Aug 16, 2026
Merged

helly25 merged 1 commit into
bazel-contrib:masterfrom
helly25:support-llvm-prereleases

Conversation

@helly25

@helly25 helly25 commented Aug 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • parse LLVM RC versions from release asset names and generate the matching llvmorg-<version> download URL
  • allow exact prerelease selection and SemVer-style explicit prerelease range opt-in
  • teach extra_distributions.sh to handle prerelease versions and ignore mismatched asset versions
  • document LLVM 23.1.0-rc3 configuration

Broad stable ranges remain stable-only: latest:>=23 and latest:>22 do not select an RC. A comparator such as latest:>=23.1.0-rc1 explicitly opts into prereleases for the 23.1.0 tuple.

Tests

  • bazel test //toolchain/internal:llvm_prerelease_test //toolchain/internal:llvm_requirements_test //toolchain/internal:llvm_distributions_output_test
  • buildifier -mode=check -lint=warn ...
  • shellcheck utils/extra_distributions.sh
  • git diff --check

@helly25
helly25 merged commit 6e04cf2 into bazel-contrib:master Aug 16, 2026
77 checks passed
@helly25
helly25 deleted the support-llvm-prereleases branch August 16, 2026 16:48
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.

3 participants