This patch adjusts the build process for building the toolchain for the CI container to perform more rigorous perf-training for PGO, particularly building the entirety of LLVM as that is what showed the best results while benchmarking. This patch also splits the job into two stages to avoid timeouts due to the large increase in buildtime. There are a couple other hacks added in here to make things work that we can do away with eventually once we're able to run jobs like this on more powerful self-hosted runners.
14 lines
411 B
Diff
14 lines
411 B
Diff
diff --git a/clang/cmake/caches/BOLT-PGO.cmake b/clang/cmake/caches/BOLT-PGO.cmake
|
|
index 1a04ca9a74e5..d092820e4115 100644
|
|
--- a/clang/cmake/caches/BOLT-PGO.cmake
|
|
+++ b/clang/cmake/caches/BOLT-PGO.cmake
|
|
@@ -4,6 +4,8 @@ set(CLANG_BOOTSTRAP_TARGETS
|
|
stage2-clang-bolt
|
|
stage2-distribution
|
|
stage2-install-distribution
|
|
+ clang
|
|
+ lld
|
|
CACHE STRING "")
|
|
set(BOOTSTRAP_CLANG_BOOTSTRAP_TARGETS
|
|
clang-bolt
|