llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Chelsea Cassanova (chelcassanova)

<details>
<summary>Changes</summary>

The LLDB standalone build using Xcode currently fails due to the headers being 
attached to multiple targets, but none of these targets depending on each 
other. This commit resolves this by creating those dependencies.

---
Full diff: https://github.com/llvm/llvm-project/pull/150995.diff


1 Files Affected:

- (modified) lldb/source/API/CMakeLists.txt (+2) 


``````````diff
diff --git a/lldb/source/API/CMakeLists.txt b/lldb/source/API/CMakeLists.txt
index 0687c8444a4cb..fdd6b3b077463 100644
--- a/lldb/source/API/CMakeLists.txt
+++ b/lldb/source/API/CMakeLists.txt
@@ -327,6 +327,7 @@ foreach(header
   endif()
 
   add_custom_target(liblldb-stage-header-${basename} DEPENDS ${staged_header})
+  add_dependencies(liblldb-stage-header-${basename} lldb-sbapi-dwarf-enums)
   add_dependencies(liblldb-header-staging liblldb-stage-header-${basename})
   add_custom_command(
     DEPENDS ${header} OUTPUT ${staged_header}
@@ -339,6 +340,7 @@ foreach(header
     set(output_header $<TARGET_FILE_DIR:liblldb>/Headers/${basename})
 
     add_custom_target(lldb-framework-fixup-header-${basename} DEPENDS 
${staged_header})
+    add_dependencies(lldb-framework-fixup-header-${basename} 
liblldb-stage-header-${basename})
     add_dependencies(lldb-framework-fixup-all-headers 
lldb-framework-fixup-header-${basename})
 
     add_custom_command(TARGET lldb-framework-fixup-header-${basename} 
POST_BUILD

``````````

</details>


https://github.com/llvm/llvm-project/pull/150995
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to