Skip to content

build: bump toolchains_llvm from 1.12.0 to 1.13.0 - #129

Merged
helly25 merged 1 commit into
mainfrom
dependabot/bazel/toolchains_llvm-1.13.0
Nov 8, 2026
Merged

helly25 merged 1 commit into
mainfrom
dependabot/bazel/toolchains_llvm-1.13.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Bumps toolchains_llvm from 1.12.0 to 1.13.0.

Release notes

Sourced from toolchains_llvm's releases.

v1.13.0

Minimum bazel version: 7.0.0

See the changelog for changes in this release. In 1.13.0, first / latest prerelease selection requires llvm_version_allow_prereleases = True, or linker_version_allow_prereleases = True for catalogued linkers. Exact pins are unchanged. Read the 1.13.0 migration guide for configuration changes, range choices, and SemVer RC ordering.

If you're using bzlmod, add the following to MODULE.bazel:

bazel_dep(name = "toolchains_llvm", version = "1.13.0")
Configure and register the toolchain.
llvm = use_extension("@​toolchains_llvm//toolchain/extensions:llvm.bzl", "llvm")
llvm.toolchain(
llvm_version = "23.1.5",
)
use_repo(llvm, "llvm_toolchain")
use_repo(llvm, "llvm_toolchain_llvm") # if you depend on specific tools in scripts
register_toolchains("@​llvm_toolchain//:all")

These examples use the linker bundled with LLVM 23.1.5; its macOS linker does not require the LLVM 23.1.0–23.1.2 SDK/TAPI workaround. LLVM 23.1.5 has no macOS x86_64 archive; Intel Mac users must select another available LLVM version through llvm_version or llvm_versions.

To directly use a commit from GitHub, add this block and replace commit with the commit you want.

git_override(
    module_name = "toolchains_llvm",
    commit = "a6c3d438d3783d35a42306e0d0616808dba9322d",
    remote = "https://github.com/bazel-contrib/toolchains_llvm",
)

If not using bzlmod, include this section in your WORKSPACE:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "toolchains_llvm",
sha256 = "6834423f49c0b0709942858f4c6323a25e8da254a8265fbe874d2c3f96bf19a0",
strip_prefix = "toolchains_llvm-v1.13.0",
</tr></table>

... (truncated)

Changelog

Sourced from toolchains_llvm's changelog.

1.13.0

Migration required for prerelease selectors

  • first / latest prerelease selection now requires an explicit opt-in; specifying an RC in a requirement no longer suffices. Exact pins are unchanged. See the 1.13.0 migration guide for the required flags, range choices, and changed RC ordering under SemVer.

Version selection

  • Shared expression-based LLVM and linker version selectors, including major, minor, and patch constants, function expressions, wildcards, and compatible-release comparisons. Candidates must have an artifact for the execution platform before version selection.
  • Environment-derived linker versions through getenv(NAME,fallback), matching LLVM version selection.
  • Independent prerelease policies in feature overrides; linker-only policy changes can reuse the base LLVM archive.

LLVM distributions

  • Add checksum-pinned LLVM 23.1.5 archives for Linux ARM64/x86_64, macOS ARM64, and Windows ARM64/x86_64. Both xz and zstd metadata are retained; automatic selection continues to use xz. Existing LLVM and mold entries are preserved.

Dependencies and publishing

  • WORKSPACE dependencies: rules_cc 0.2.27, apple_support 2.11.0, and bazel_features 1.54.1.
  • Test dependencies, including rules_python 2.4.6, rules_go 0.65.0, rules_foreign_cc 0.17.0, rules_rust 0.75.0, BoringSSL 0.20261020.0, and WORKSPACE aspect_bazel_lib 3.8.0.
  • BCR publishing workflow to publish-to-bcr 1.6.0.
Commits
  • a6c3d43 Prepare 1.13.0 release documentation and migration notes (#930)
  • 6d7c7d7 Add LLVM 23.1.5 distributions (#932)
  • fffb10a Update dependency aspect_bazel_lib to v3.8.0 (#931)
  • ae190c6 Update dependency rules_python to v2.4.6 (#929)
  • e8a5dba Update dependency bazel_features to v1.54.1 (#928)
  • 7c6f33b Update dependency apple_support to v2.11.0 (#927)
  • 8e766b8 Update bazel-contrib/publish-to-bcr action to v1.6.0 (#926)
  • 0daa49e Update dependency rules_rust to v0.75.0 (#925)
  • a8496ca Update dependency rules_foreign_cc to v0.17.0 (#924)
  • 2b88c43 Update dependency io_bazel_rules_go to v0.65.0 (#921)3
  • Additional commits viewable in compare view

@dependabot dependabot Bot added bazel Pull requests that update bazel code dependencies Pull requests that update a dependency file labels Nov 8, 2026
@helly25

helly25 commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator

@dependabot rebase

@helly25
helly25 enabled auto-merge (squash) November 8, 2026 08:43
Bumps [toolchains_llvm](https://github.com/bazel-contrib/toolchains_llvm) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/bazel-contrib/toolchains_llvm/releases)
- [Changelog](https://github.com/bazel-contrib/toolchains_llvm/blob/master/CHANGELOG.md)
- [Commits](bazel-contrib/toolchains_llvm@v1.12.0...v1.13.0)

---
updated-dependencies:
- dependency-name: toolchains_llvm
  dependency-version: 1.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/bazel/toolchains_llvm-1.13.0 branch from fef6cab to 17fcbfb Compare November 8, 2026 08:44
@helly25
helly25 merged commit ceee250 into main Nov 8, 2026
20 of 23 checks passed
@helly25
helly25 deleted the dependabot/bazel/toolchains_llvm-1.13.0 branch November 8, 2026 19:10

This branch was previously deployed

1 inactive deployment
github-pages — 17fcbfbc Deployed Nov 8, 2026 by helly25 via publish #206
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bazel Pull requests that update bazel code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant