[CMake] Include clang-bolt bootstrap target in BOLT-PGO.cmake
authorAmir Ayupov <aaupov@fb.com>
Fri, 27 Jan 2023 17:48:13 +0000 (09:48 -0800)
committerAmir Ayupov <aaupov@fb.com>
Fri, 27 Jan 2023 18:46:34 +0000 (10:46 -0800)
Preemptively include clang-bolt target in BOLT-PGO CMake cache file,
in preparation of https://reviews.llvm.org/D139454 to avoid breaking
bolt-x86_64-ubuntu-clang-bolt-lto-pgo buildbot.

clang/cmake/caches/BOLT-PGO.cmake

index 54827c1..c329415 100644 (file)
@@ -1,9 +1,11 @@
 set(LLVM_ENABLE_PROJECTS "bolt;clang;lld" CACHE STRING "")
 
 set(CLANG_BOOTSTRAP_TARGETS
+  stage2-clang-bolt
   stage2-clang++-bolt
   CACHE STRING "")
 set(BOOTSTRAP_CLANG_BOOTSTRAP_TARGETS
+  clang-bolt
   clang++-bolt
   CACHE STRING "")