[Lldb-commits] [PATCH] D66208: [lldb] Let LLDB depend on intrinsics_gen to fix non-deterministic module build failures
Raphael Isemann via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 15 00:31:29 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL368975: [lldb] Let LLDB depend on intrinsics_gen to fix non-deterministic module build… (authored by teemperor, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
CHANGES SINCE LAST ACTION
@@ -40,6 +40,15 @@
+# We need the headers generated by instrinsics_gen before we can compile
+# any source file in LLDB as the imported Clang modules might include
+# some of these generated headers. This approach is copied from Clang's main
+# CMakeLists.txt, so it should kept in sync the code in Clang which was added
+# in llvm-svn 308844.
+if(LLVM_ENABLE_MODULES AND NOT LLDB_BUILT_STANDALONE)
+ list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen)
if(CMAKE_CROSSCOMPILING AND LLDB_BUILT_STANDALONE)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 771 bytes
Desc: not available
More information about the lldb-commits