[Lldb-commits] [PATCH] D68614: [LLDB] Remove standalone build dep on llvm-strip

Gwen Mittertreiner via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 7 17:31:36 PDT 2019


gmittert created this revision.
gmittert added reviewers: compnerd, kwk.
Herald added subscribers: lldb-commits, JDevlieghere, mgorny.
Herald added a project: LLDB.

When building standalone, since llvm-strip is a symlink, it is created
using add_custom_command/add_custom_target which cannot be exported, and
thus cannot be depended on by lldb.


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D68614

Files:
  lit/CMakeLists.txt


Index: lit/CMakeLists.txt
===================================================================
--- lit/CMakeLists.txt
+++ lit/CMakeLists.txt
@@ -60,8 +60,10 @@
   llvm-mc
   llvm-objcopy
   llvm-readobj
-  llvm-strip
   )
+if(NOT LLDB_BUILT_STANDALONE)
+  list(APPEND LLDB_TEST_DEPS llvm-strip)
+endif()
 
 if(TARGET lld)
   list(APPEND LLDB_TEST_DEPS lld)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68614.223703.patch
Type: text/x-patch
Size: 356 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191008/cf1467b1/attachment-0001.bin>


More information about the lldb-commits mailing list