Skip to content

mbo/hash: measurements --config pass-through + bump hermetic LLVM/clang to 22.1.8 - #247

Merged
helly25 merged 2 commits into
mainfrom
measurements-config
Jul 11, 2026
Merged

mbo/hash: measurements --config pass-through + bump hermetic LLVM/clang to 22.1.8#247
helly25 merged 2 commits into
mainfrom
measurements-config

Conversation

@helly25

@helly25 helly25 commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Toolchain prep so the authoritative benchmark runs can pick a compiler cleanly. Both together, since we want to measure under each toolchain.

--config pass-through. run_measurements.py / hash_benchmark_report.py run gain --config, forwarded to the perf bazel run (e.g. --config clang; omit for native gcc). So a machine can be measured under each compiler and the recorded compiler + bundle filename (from #246) match the toolchain used.

LLVM pin 20.1.8 → 22.1.8. The hermetic clang toolchain --config=clang resolves to; the 22.1.8 distributions were already registered. Validated locally: bazel build --config=clang -c opt //mbo/hash:hash_benchmark builds and reports clang-22.

Watch on CI: absolute_paths is not set - per prior notes LLVM 22 on macos-26 ASAN wanted it to avoid a compiler-rt FindDynamicShadowStart hang; if that job hangs, the fix is absolute_paths = True on the llvm.toolchain(...) call.

…olchain

run_measurements.py / hash_benchmark_report.py 'run' gain --config, forwarded to
the perf `bazel run` (e.g. --config clang for the hermetic LLVM toolchain; omit
for native gcc). So you can measure a machine under each compiler and the
recorded compiler + bundle filename match the toolchain used.
Flip `llvm_version` 20.1.8 -> 22.1.8 (the 22.1.8 distributions were already
registered). This is the toolchain `--config=clang` uses; validated locally that
the hash benchmark builds under it. CI's clang matrix (and macos-26 ASAN) is the
broad validation.
@helly25 helly25 changed the title mbo/hash/measurements: --config pass-through to pick the benchmark toolchain mbo/hash: measurements --config pass-through + bump hermetic LLVM/clang to 22.1.8 Jul 11, 2026
@helly25
helly25 requested a review from Fab-Cat July 11, 2026 11:00
@helly25
helly25 enabled auto-merge (squash) July 11, 2026 11:12
@helly25
helly25 merged commit c6a9593 into main Jul 11, 2026
39 checks passed
@helly25
helly25 deleted the measurements-config branch July 11, 2026 12:46
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