Skip to content

[build] Upgrade @llvm to 0.8.10 - #17780

Merged
AutomatedTester merged 1 commit into
trunkfrom
llvm-0.8.10-bump
Jul 17, 2026
Merged

[build] Upgrade @llvm to 0.8.10#17780
AutomatedTester merged 1 commit into
trunkfrom
llvm-0.8.10-bump

Conversation

@AutomatedTester

Copy link
Copy Markdown
Member

Summary

Bumps the hermetic @llvm toolchain from 0.8.9 → 0.8.10, picking up recent linker/toolchain fixes (dSYM strip via rules_cc env, per-version COFF ThinLTO patch split, 3-stage FDO bootstrap). Trunk pins @llvm as a plain bazel_dep with no patch/override, so this is a straight one-line version bump.

Why 0.8.10 and not the latest 0.8.11

0.8.11's macOS sysroot changes (#642 "Pass -isysroot on macOS as well as --sysroot", #652 "Link Clang Darwin sysroot precedence") break the hermetic macOS C build: the bzip2-sys crate fails with 'stdlib.h' file not found because a relative -isysroot external/llvm++osx+macos_sdk/sysroot is passed and the SDK's C headers aren't resolved. 0.8.10 is the latest version that builds cleanly for us.

Validation

Built locally on macOS (arm64) against @llvm 0.8.10:

  • bazel build //rust:selenium-manager compiles + links the full crate graph (including the bzip2-sys/lzma-sys/zstd-sys C build scripts that exercise the @llvm C toolchain).
  • Resulting binary runs (selenium-manager 0.4.47-nightly).

CI exercises the full Linux/macOS/Windows matrix.

Bumps the hermetic @llvm toolchain from 0.8.9 to 0.8.10, picking up recent
linker/toolchain fixes (dSYM strip via rules_cc env, per-version COFF ThinLTO
patch split, 3-stage FDO bootstrap).

0.8.10 rather than the latest 0.8.11: 0.8.11's macOS sysroot changes (passing a
relative -isysroot alongside --sysroot) break the hermetic macOS C build of the
bzip2-sys crate ("'stdlib.h' file not found"). 0.8.10 is the latest version
that builds cleanly.

Trunk pins @llvm as a plain bazel_dep with no patch/override, so this is a
straight version bump. Validated locally on macOS: full compile+link of
//rust:selenium-manager against @llvm 0.8.10 and the binary runs.
@selenium-ci selenium-ci added the B-build Includes scripting, bazel and CI integrations label Jul 15, 2026
@AutomatedTester
AutomatedTester merged commit fc707ff into trunk Jul 17, 2026
60 checks passed
@AutomatedTester
AutomatedTester deleted the llvm-0.8.10-bump branch July 17, 2026 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

B-build Includes scripting, bazel and CI integrations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants