[Lldb-commits] [lldb] r372793 - [CMake] Don't try to install the system debugserver.
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 24 17:21:31 PDT 2019
Author: jdevlieghere
Date: Tue Sep 24 17:21:31 2019
New Revision: 372793
URL: http://llvm.org/viewvc/llvm-project?rev=372793&view=rev
Log:
[CMake] Don't try to install the system debugserver.
The custom target for the system debugserver has no install target, so
we need to remove it from the LLVM_DISTRIBUTION_COMPONENTS list.
Modified:
lldb/trunk/test/CMakeLists.txt
Modified: lldb/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/CMakeLists.txt?rev=372793&r1=372792&r2=372793&view=diff
==============================================================================
--- lldb/trunk/test/CMakeLists.txt (original)
+++ lldb/trunk/test/CMakeLists.txt Tue Sep 24 17:21:31 2019
@@ -101,6 +101,10 @@ if(CMAKE_HOST_APPLE)
COMMAND ${CMAKE_COMMAND} -E copy_if_different
${system_debugserver_path} ${LLVM_RUNTIME_OUTPUT_INTDIR}
COMMENT "Copying the system debugserver to LLDB's binaries directory for testing.")
+ # The custom target for the system debugserver has no install target, so we
+ # need to remove it from the LLVM_DISTRIBUTION_COMPONENTS list.
+ list(REMOVE_ITEM LLVM_DISTRIBUTION_COMPONENTS debugserver)
+ set(LLVM_DISTRIBUTION_COMPONENTS ${LLVM_DISTRIBUTION_COMPONENTS} PARENT_SCOPE)
message(STATUS "LLDB tests use out-of-tree debugserver: ${system_debugserver_path}")
list(APPEND LLDB_TEST_COMMON_ARGS --out-of-tree-debugserver)
elseif(TARGET debugserver)
More information about the lldb-commits
mailing list