diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-10-09 21:06:03 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-10-09 21:06:03 +0000 |
commit | 988ad419484811d6289c56ba365d2f276f11c0e9 (patch) | |
tree | f57ce2e744fd222129838a44f780a6ea3a044fc7 | |
parent | e7bfce78636905d58300bea42861f2f35acdda77 (diff) | |
download | bcm5719-llvm-988ad419484811d6289c56ba365d2f276f11c0e9.tar.gz bcm5719-llvm-988ad419484811d6289c56ba365d2f276f11c0e9.zip |
[LLDB] Remove standalone build dep on llvm-strip
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.
Patch by: Gwen Mittertreiner
Differential revision: https://reviews.llvm.org/D68614
llvm-svn: 374229
-rw-r--r-- | lldb/test/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lldb/test/CMakeLists.txt b/lldb/test/CMakeLists.txt index d13b1395046..4cbdc467a48 100644 --- a/lldb/test/CMakeLists.txt +++ b/lldb/test/CMakeLists.txt @@ -58,9 +58,14 @@ add_lldb_test_dependency( 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) + add_lldb_test_dependency(llvm-strip) +endif() + if(TARGET lld) add_lldb_test_dependency(lld) else() |