Skip to content

Commit 41f9f63

Browse files
committed
Use `--keep-stage also for the final build
1 parent 14ed9fa commit 41f9f63

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/ci/stage-build.py

+6
Original file line numberDiff line numberDiff line change
@@ -973,6 +973,12 @@ def execute_build_pipeline(timer: Timer, pipeline: Pipeline, runner: BenchmarkRu
973973
]
974974
print_free_disk_space(pipeline)
975975

976+
# We want to keep the already built PGO-optimized `rustc`.
977+
dist_build_args += [
978+
"--keep-stage", "0",
979+
"--keep-stage", "1"
980+
]
981+
976982
"""
977983
Final stage: Build PGO optimized rustc + PGO/BOLT optimized LLVM
978984
"""

0 commit comments

Comments
 (0)