[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
Tue Oct 8 11:07:10 PDT 2019


gmittert updated this revision to Diff 223903.
gmittert added a comment.

Alright, rebased and added a comment to it


Repository:
  rLLDB LLDB

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68614/new/

https://reviews.llvm.org/D68614

Files:
  lit/CMakeLists.txt


Index: lit/CMakeLists.txt
===================================================================
--- lit/CMakeLists.txt
+++ lit/CMakeLists.txt
@@ -56,9 +56,14 @@
   llvm-mc
   llvm-objcopy
   llvm-readobj
-  llvm-strip
   )
 
+# Since llvm-strip is a symlink created by add_custom_target, it
+# doesn't expose an export target when building standalone.
+if(NOT LLDB_BUILT_STANDALONE)
+  list(APPPEND LLDB_TEST_DEPS llvm-strip)
+endif()
+
 if(TARGET lld)
   add_lldb_test_dependency(lld)
 endif()


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


More information about the lldb-commits mailing list