[PATCH] D47355: [CMake] Allow specifying extra dependencies of bootstrap stage

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 24 18:05:46 PDT 2018


phosek created this revision.
phosek added a reviewer: beanz.
Herald added subscribers: cfe-commits, mgorny.

This allows adding additional bootstrap dependencies to the bootstrap
compiler that may be needed by later stages.


Repository:
  rC Clang

https://reviews.llvm.org/D47355

Files:
  clang/CMakeLists.txt


Index: clang/CMakeLists.txt
===================================================================
--- clang/CMakeLists.txt
+++ clang/CMakeLists.txt
@@ -583,6 +583,10 @@
     endif()
   endif()
 
+  if(CLANG_BOOTSTRAP_EXTRA_COMPONENTS)
+    add_dependencies(clang-bootstrap-deps ${CLANG_BOOTSTRAP_EXTRA_COMPONENTS})
+  endif()
+
   add_custom_target(${NEXT_CLANG_STAGE}-clear
     DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${NEXT_CLANG_STAGE}-cleared
     )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47355.148534.patch
Type: text/x-patch
Size: 449 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180525/1a3c7613/attachment-0001.bin>


More information about the cfe-commits mailing list