Use `--keep-stage also for the final build

This commit is contained in:
Jakub Beránek 2023-06-07 14:16:28 +02:00
parent 14ed9fa01c
commit 41f9f63de6
No known key found for this signature in database
GPG Key ID: 909CD0D26483516B

View File

@ -973,6 +973,12 @@ def execute_build_pipeline(timer: Timer, pipeline: Pipeline, runner: BenchmarkRu
]
print_free_disk_space(pipeline)
# We want to keep the already built PGO-optimized `rustc`.
dist_build_args += [
"--keep-stage", "0",
"--keep-stage", "1"
]
"""
Final stage: Build PGO optimized rustc + PGO/BOLT optimized LLVM
"""