about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/queries.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-06-08 00:46:58 +0000
committerbors <bors@rust-lang.org>2023-06-08 00:46:58 +0000
commit50f2176721a08c0c5673db924a95c0544316682c (patch)
treec7dc2b197777dd1b8926fbef0d8b57c374e327c1 /compiler/rustc_interface/src/queries.rs
parentf383703e32dc583468a702213eff63c58c7f9ef5 (diff)
parent41f9f63de65a029393dfe7ec22c54a75fdf65d20 (diff)
downloadrust-50f2176721a08c0c5673db924a95c0544316682c.tar.gz
rust-50f2176721a08c0c5673db924a95c0544316682c.zip
Auto merge of #112012 - Kobzol:try-build-llvm-rebuild, r=nikic
Avoid one `rustc` rebuild in the optimized build pipeline

This PR changes the optimized build pipeline to avoid one `rustc` rebuild, inspired by [this comment](https://github.com/rust-lang/rust/issues/112011#issuecomment-1564991175). This speeds up the pipeline by 5-10 minutes. After this change, we **no longer gather LLVM PGO profiles from compiling stage 2 of `rustc`**.

Now we build `rustc` two times (1x PGO instrumented, 1x PGO optimized) and LLVM three times (1x normal, 1x PGO instrumented, 1x PGO optimized). It should be possible to cache the normal LLVM build, but I'll leave that for another PR.
Diffstat (limited to 'compiler/rustc_interface/src/queries.rs')
0 files changed, 0 insertions, 0 deletions