Skip to content

Commit 91bb563

Browse files
committed
Try to avoid the last rustc rebuild
1 parent bfc220a commit 91bb563

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ci/stage-build.py

+3
Original file line numberDiff line numberDiff line change
@@ -798,12 +798,15 @@ def execute_build_pipeline(timer: Timer, pipeline: Pipeline, final_build_args: L
798798
"--llvm-profile-use",
799799
pipeline.llvm_profile_merged_file(),
800800
"--llvm-bolt-profile-generate",
801+
"--rust-profile-use",
802+
pipeline.rustc_profile_merged_file()
801803
])
802804
record_metrics(pipeline, rustc_build)
803805

804806
with stage3.section("Gather profiles"):
805807
gather_llvm_bolt_profiles(pipeline)
806808

809+
# LLVM is not being cleared here, we want to reuse the previous build
807810
print_free_disk_space(pipeline)
808811
final_build_args += [
809812
"--llvm-bolt-profile-use",

0 commit comments

Comments
 (0)