File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -55,15 +55,23 @@ set(STAGE1_RUNTIMES "compiler-rt")
55
55
56
56
if (LLVM_RELEASE_ENABLE_PGO )
57
57
list (APPEND STAGE1_PROJECTS "lld" )
58
- set (CLANG_BOOTSTRAP_TARGETS
58
+ set (tmp_targets
59
59
generate-profdata
60
60
stage2-package
61
61
stage2-clang
62
+ stage2
62
63
stage2-install
63
64
stage2-check-all
64
65
stage2-check-llvm
65
66
stage2-check-clang CACHE STRING "" )
66
67
68
+ foreach (X IN LISTS LLVM_RELEASE_FINAL_STAGE_TARGETS )
69
+ list (APPEND tmp_targets "stage2-${X} " )
70
+ endforeach ()
71
+ list (REMOVE_DUPLICATES tmp_targets )
72
+
73
+ set (CLANG_BOOTSTRAP_TARGETS "${tmp_targets} " CACHE STRING "" )
74
+
67
75
# Configuration for stage2-instrumented
68
76
set (BOOTSTRAP_CLANG_ENABLE_BOOTSTRAP ON CACHE STRING "" )
69
77
# This enables the build targets for the final stage which is called stage2.
You can’t perform that action at this time.
0 commit comments