Skip to content

deps: Update dependency toolchains_llvm to v1.8.0#797

Open
ffortier wants to merge 1 commit into
mainfrom
renovate/toolchains_llvm-1.x
Open

deps: Update dependency toolchains_llvm to v1.8.0#797
ffortier wants to merge 1 commit into
mainfrom
renovate/toolchains_llvm-1.x

Conversation

@ffortier

@ffortier ffortier commented Jun 13, 2026

Copy link
Copy Markdown
Owner

This PR contains the following updates:

Package Type Update Change
toolchains_llvm bazel_dep minor 1.7.01.8.0

Release Notes

bazel-contrib/toolchains_llvm (toolchains_llvm)

v1.8.0

Minimum bazel version: 7.0.0

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

bazel_dep(name = "toolchains_llvm", version = "1.8.0")

# Configure and register the toolchain.
llvm = use_extension("@​toolchains_llvm//toolchain/extensions:llvm.bzl", "llvm")
llvm.toolchain(
   llvm_version = "16.0.0",
)

use_repo(llvm, "llvm_toolchain")

# use_repo(llvm, "llvm_toolchain_llvm") # if you depend on specific tools in scripts

register_toolchains("@​llvm_toolchain//:all")

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 = "332d6856cf41452acbd0ee2636e00232c251dd65",
  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 = "3b05826f256040f91c24dcaad673eb1c91e4cc93f4043d0205f2512327640205",
    strip_prefix = "toolchains_llvm-v1.8.0",
    canonical_id = "v1.8.0",
    url = "https://github.com/bazel-contrib/toolchains_llvm/releases/download/v1.8.0/toolchains_llvm-v1.8.0.tar.gz",
)

load("@​toolchains_llvm//toolchain:deps.bzl", "bazel_toolchain_dependencies")

bazel_toolchain_dependencies()

load("@​bazel_features//:deps.bzl", "bazel_features_deps")

bazel_features_deps()

load("@​rules_cc//cc:extensions.bzl", "compatibility_proxy_repo")

# If you see an error:

#   ERROR: Cycle caused by autoloads, failed to load .bzl file '@​@​cc_compatibility_proxy//:symbols.bzl'.
# then you might need to add the following to your .bzelrc:

#   common --repositories_without_autoloads=cc_compatibility_proxy
compatibility_proxy_repo()

load("@​toolchains_llvm//toolchain:rules.bzl", "llvm_toolchain")

llvm_toolchain(
    name = "llvm_toolchain",
    llvm_version = "16.0.0",
)

load("@​llvm_toolchain//:toolchains.bzl", "llvm_register_toolchains")

llvm_register_toolchains()

What's Changed

New Contributors

Full Changelog: bazel-contrib/toolchains_llvm@v1.7.0...v1.8.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

@coderabbitai

coderabbitai Bot commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The Bazel module dependency for toolchains_llvm is updated from version 1.7.0 to 1.8.0.

Changes

Toolchains LLVM Upgrade

Layer / File(s) Summary
Toolchains LLVM version upgrade
third_party/cpp/toolchains.MODULE.bazel
The bazel_dep declaration updates toolchains_llvm from version 1.7.0 to 1.8.0.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and concisely describes the main change: upgrading toolchains_llvm to v1.8.0.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate/toolchains_llvm-1.x

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ffortier
ffortier force-pushed the renovate/toolchains_llvm-1.x branch 25 times, most recently from c5a3fc3 to dba38d1 Compare July 24, 2026 14:31

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@third_party/cpp/toolchains.MODULE.bazel`:
- Line 1: Ensure CI selects Bazel 7.0.0 or newer for the toolchains_llvm
dependency declared in toolchains.MODULE.bazel by adding or updating the
repository’s .bazelversion or an explicit selector in the CI workflow. If
MODULE.bazel.lock was generated with an older Bazel binary, regenerate it using
the selected Bazel version.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 89ef6dd8-85d7-4252-81db-5f14d899ece4

📥 Commits

Reviewing files that changed from the base of the PR and between 4777ed3 and dba38d1.

📒 Files selected for processing (1)
  • third_party/cpp/toolchains.MODULE.bazel

@@ -1,4 +1,4 @@
bazel_dep(name = "toolchains_llvm", version = "1.7.0")
bazel_dep(name = "toolchains_llvm", version = "1.8.0")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
fd -H -a '(\.bazelversion|WORKSPACE|MODULE\.bazel|.*\.yml|.*\.yaml|Dockerfile)$' \
  | xargs -r rg -n -i 'bazel(version)?|bazelisk'

Repository: ffortier/mono

Length of output: 9438


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== tracked bazel/version-related files =="
git ls-files | rg '(^|/)(\.bazelversion|WORKSPACE|MODULE\.bazel|\.github/workflows/ci\.ya?ml|Dockerfile)$' || true

echo
echo "== relevant config snippets =="
for f in $(git ls-files | rg '(^|/)(\.bazelversion|WORKSPACE|MODULE\.bazel|\.github/workflows/ci\.ya?ml|Dockerfile)$'); do
  echo "--- $f"
  sed -n '1,140p' "$f"
done

echo
echo "== Bazel/version references with context =="
git ls-files | xargs -r rg -n -i 'bazel-version|bazelversion|bazelisk|bazel:|Bazel|7\.0\.0|toolchains_llvm' || true

Repository: ffortier/mono

Length of output: 50370


🌐 Web query:

bazel-contrib toolchains_llvm 1.8.0 minimum Bazel version

💡 Result:

The minimum Bazel version required for bazel-contrib/toolchains_llvm version 1.8.0 is 7.0.0 [1][2][3].

Citations:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== tracked bazel files =="
git ls-files '^(\.bazelversion|WORKSPACE|MODULE\.bazel|MODULE\.bazel\.lock)$' | while read -r f; do
  echo "--- $f"
  awk '
    /.bazel_version/ || /compatible_with/ || /^bazel_dep/ || /^module_deps/ { print }
  ' "$f" | head -n 200 || true
done

echo
echo "== version-specific tracked files if present =="
git ls-files | awk -F/ '$(NF-1) ~ /^[.]github$/ {print $0}' | rg '(^|/)(\.bazelversion|WORKSPACE|MODULE\.bazel|.*\.ya?ml|Dockerfile)$' || true
for f in $(git ls-files | awk -F/ '$(NF-1) ~ /^[.]github$/ {print $0}' | rg '(^|/)(\.bazelversion|WORKSPACE|MODULE\.bazel|.*\.ya?ml|Dockerfile)$'); do
  echo "--- $f"
  rg -n -i 'bazel(-version)?|bazelisk' "$f" || true
done

echo
echo "== direct version references in workspace/config files =="
git ls-files '^(\.bazelversion|WORKSPACE|MODULE\.bazel)$' \
  $(git ls-files | awk -F/ '$(NF-1) ~ /^[.]github$/ {print $0}' | rg '(^|/)(\.bazelversion|WORKSPACE|MODULE\.bazel|.*\.ya?ml|Dockerfile)$') \
  | xargs -r rg -n -i 'bazel(-version)?|bazelisk' || true

Repository: ffortier/mono

Length of output: 285


Declare CI to use Bazel 7.0.0+ for toolchains_llvm 1.8.0

.github/workflows/ci.yml installs bazelisk but does not pin or select a Bazel version, so CI does not guarantee the toolchains_llvm/1.8.0 Bazel 7.0.0 minimum. Add/refresh a .bazelversion or explicit workflow selector and recompute MODULE.bazel.lock at that Bazel version if it’s currently based on an older binary.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@third_party/cpp/toolchains.MODULE.bazel` at line 1, Ensure CI selects Bazel
7.0.0 or newer for the toolchains_llvm dependency declared in
toolchains.MODULE.bazel by adding or updating the repository’s .bazelversion or
an explicit selector in the CI workflow. If MODULE.bazel.lock was generated with
an older Bazel binary, regenerate it using the selected Bazel version.

@ffortier
ffortier force-pushed the renovate/toolchains_llvm-1.x branch from dba38d1 to 16fd37c Compare July 25, 2026 21:43
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.

2 participants