Try to avoid the last rustc rebuild
This commit is contained in:
parent
bfc220a96e
commit
91bb563e13
1 changed files with 3 additions and 0 deletions
|
@ -798,12 +798,15 @@ def execute_build_pipeline(timer: Timer, pipeline: Pipeline, final_build_args: L
|
||||||
"--llvm-profile-use",
|
"--llvm-profile-use",
|
||||||
pipeline.llvm_profile_merged_file(),
|
pipeline.llvm_profile_merged_file(),
|
||||||
"--llvm-bolt-profile-generate",
|
"--llvm-bolt-profile-generate",
|
||||||
|
"--rust-profile-use",
|
||||||
|
pipeline.rustc_profile_merged_file()
|
||||||
])
|
])
|
||||||
record_metrics(pipeline, rustc_build)
|
record_metrics(pipeline, rustc_build)
|
||||||
|
|
||||||
with stage3.section("Gather profiles"):
|
with stage3.section("Gather profiles"):
|
||||||
gather_llvm_bolt_profiles(pipeline)
|
gather_llvm_bolt_profiles(pipeline)
|
||||||
|
|
||||||
|
# LLVM is not being cleared here, we want to reuse the previous build
|
||||||
print_free_disk_space(pipeline)
|
print_free_disk_space(pipeline)
|
||||||
final_build_args += [
|
final_build_args += [
|
||||||
"--llvm-bolt-profile-use",
|
"--llvm-bolt-profile-use",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue