[Lldb-commits] [PATCH] D58193: Do not explicitly depend on llvm tools during standalone build
serge via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 13 10:09:03 PST 2019
serge-sans-paille created this revision.
serge-sans-paille added a reviewer: labath.
Herald added subscribers: lldb-commits, mgorny.
Herald added a reviewer: alexshap.
Herald added a project: LLDB.
When building lldb in standalone mode, the llvm-nm, llvm-objdump etc target are not available, so only conditionnaly include them.
Repository:
rLLDB LLDB
https://reviews.llvm.org/D58193
Files:
lit/CMakeLists.txt
Index: lit/CMakeLists.txt
===================================================================
--- lit/CMakeLists.txt
+++ lit/CMakeLists.txt
@@ -19,18 +19,23 @@
list(APPEND LLDB_TEST_DEPS
LLDBUnitTests
- dsymutil
- llc
lldb
lldb-test
- llvm-config
- llvm-mc
- llvm-objcopy
- FileCheck
- count
- not
)
+if (NOT LLDB_BUILT_STANDALONE)
+ list(APPEND LLDB_TEST_DEPS
+ dsymutil
+ llc
+ llvm-config
+ llvm-mc
+ llvm-objcopy
+ FileCheck
+ count
+ not
+ )
+endif()
+
if(TARGET lld)
list(APPEND LLDB_TEST_DEPS lld)
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58193.186690.patch
Type: text/x-patch
Size: 571 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190213/959d0c68/attachment-0001.bin>
More information about the lldb-commits
mailing list