[Lldb-commits] [PATCH] D39689: Add a dependency from check-lldb on lld

Stephane Sezer via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 6 11:26:07 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL317501: Add a dependency from check-lldb on lld (authored by sas).

Repository:
  rL LLVM

https://reviews.llvm.org/D39689

Files:
  lldb/trunk/test/CMakeLists.txt


Index: lldb/trunk/test/CMakeLists.txt
===================================================================
--- lldb/trunk/test/CMakeLists.txt
+++ lldb/trunk/test/CMakeLists.txt
@@ -115,6 +115,15 @@
   add_dependencies(check-lldb clang)
 endif()
 
+# LLD is required to link test executables on Windows.
+if (CMAKE_SYSTEM_NAME MATCHES "Windows")
+  if (TARGET lld)
+    add_dependencies(check-lldb lld)
+  else ()
+    message(WARNING "lld required to test LLDB on Windows")
+  endif ()
+endif ()
+
 add_custom_target(lldb-test-depends DEPENDS ${LLDB_TEST_DEPENDS})
 # This will add LLDB's test dependencies to the depenednecies for check-all and
 # include them in the test-depends target.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39689.121761.patch
Type: text/x-patch
Size: 689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20171106/fe6a9569/attachment-0001.bin>


More information about the lldb-commits mailing list