1set(CLANG_ENABLE_BOOTSTRAP ON CACHE BOOL "") 2set(CLANG_BOOTSTRAP_TARGETS 3 distribution 4 install-distribution 5 install-distribution-toolchain 6 check-all 7 check-llvm 8 check-clang 9 test-suite CACHE STRING "") 10 11if(PGO_BUILD_CONFIGURATION) 12 include(${PGO_BUILD_CONFIGURATION}) 13 set(CLANG_BOOTSTRAP_CMAKE_ARGS 14 -C ${PGO_BUILD_CONFIGURATION} 15 CACHE STRING "") 16else() 17 include(${CMAKE_CURRENT_LIST_DIR}/PGO-stage2.cmake) 18 19 set(CLANG_BOOTSTRAP_CMAKE_ARGS 20 -C ${CMAKE_CURRENT_LIST_DIR}/PGO-stage2.cmake 21 CACHE STRING "") 22endif() 23