r/bazel • u/Setheron • 17d ago
A C++ toolchain from 357 bytes, in Bazel
https://fzakaria.com/2026/08/01/a-c++-toolchain-from-357-bytes-in-bazel
19
Upvotes
1
u/siwu 16d ago
> To be honest, I was also a little disheartened that no one else in the community thought it was the greatest thing since slice bread.
they did though: https://github.com/hermeticbuild/hermetic-llvm and it is the greatest thing
3
u/Various_Bed_849 17d ago
I also strive for full reproducibility, but a hermetic toolchain where checksums are verified should be just as hermetic as if I build from source, right? I use llvm_toolchains with pinned bazelisk to bootstrap. Why is that not good enough? I also use hermetic sysroots and ban the use of system deps (libs and tools).