[PATCH] D21892: Clang modules builds depend header-wise on it as they ship all headers from the umbrella folders.
Vassil Vassilev via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 30 07:45:40 PDT 2016
v.g.vassilev created this revision.
v.g.vassilev added reviewers: rsmith, beanz.
v.g.vassilev added a subscriber: llvm-commits.
v.g.vassilev set the repository for this revision to rL LLVM.
Clang modules builds depend header-wise on it as they ship all headers from the umbrella folders. Building an entire module might include header, which depends on intrinsics_gen. Force target intrinsics_gen to be among the very first to build.
Repository:
rL LLVM
http://reviews.llvm.org/D21892
Files:
CMakeLists.txt
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -698,6 +698,13 @@
add_subdirectory(utils/TableGen)
+# Force target to be built as soon as possible. Clang modules builds depend
+# header-wise on it as they ship all headers from the umbrella folders. Building
+# an entire module might include header, which depends on intrinsics_gen. This
+# should be right after LLVMSupport and LLVMTableGen otherwise we introduce a
+# circular dependence.
+list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen)
+
add_subdirectory(include/llvm)
add_subdirectory(lib)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21892.62359.patch
Type: text/x-patch
Size: 637 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160630/6faa5e80/attachment.bin>
More information about the llvm-commits
mailing list