- perform PGO for rustc via opt-dist tool (addresses 19273): - various backports (available in 1.90.0) to match our environment better and fix some bugs - do not profile LLVM, because it makes backend performance even worse: rust-lang/rust\#144318 - on UCRT64 do a separate LLVM build with clang+lld so it will be linkable with PGOed rustc - bootstrap.toml changes to match requirements for opt-dist (and get some more optimizations) - CXXFLAGS workaround to actually perform LTO for llvm-wrapper (from rustc_llvm) - ensure that clang+lld is used for whole build
11 lines
328 B
Diff
11 lines
328 B
Diff
--- a/src/tools/opt-dist/src/training.rs
|
|
+++ b/src/tools/opt-dist/src/training.rs
|
|
@@ -39,7 +39,6 @@
|
|
"--include",
|
|
crates.join(",").as_str(),
|
|
])
|
|
- .env("RUST_LOG", "collector=debug")
|
|
.env("RUSTC", env.rustc_stage_0().as_str())
|
|
.env("RUSTC_BOOTSTRAP", "1")
|
|
.workdir(&env.rustc_perf_dir());
|