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

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 11 14:03:19 PDT 2018


phosek updated this revision to Diff 150838.
phosek marked an inline comment as done.

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_DEPS)
+    add_dependencies(clang-bootstrap-deps ${CLANG_BOOTSTRAP_EXTRA_DEPS})
+  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.150838.patch
Type: text/x-patch
Size: 437 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180611/867a3bc0/attachment.bin>


More information about the cfe-commits mailing list