rust/src/tools/opt-dist
onur-ozkan bc7531089e move src/tools/build_helper into src/build_helper
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-11-11 11:19:11 +03:00
..
src Rename target triple to target tuple in many places in the compiler 2024-11-02 21:29:59 +01:00
Cargo.toml move src/tools/build_helper into src/build_helper 2024-11-11 11:19:11 +03:00
README.md Port PGO/LTO/BOLT optimized build pipeline to Rust 2023-07-09 08:39:50 +02:00

Optimized build pipeline

This binary implements a heavily optimized build pipeline for rustc and LLVM artifacts that are used for both for benchmarking using the perf. bot and for final distribution to users.

It uses LTO, PGO and BOLT to optimize the compiler and LLVM as much as possible. This logic is not part of bootstrap, because it needs to invoke bootstrap multiple times, force-rebuild various artifacts repeatedly and sometimes go around bootstrap's cache mechanism.