[Lldb-commits] [lldb] [lldb][rpc] Disable building lldb-rpc-gen tool (PR #150699)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Jul 25 13:49:06 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Chelsea Cassanova (chelcassanova)
<details>
<summary>Changes</summary>
Disabling the lldb-rpc-gen tool while issues with certain builds are solved: https://github.com/llvm/llvm-project/pull/148996
---
Full diff: https://github.com/llvm/llvm-project/pull/150699.diff
1 Files Affected:
- (modified) lldb/cmake/modules/LLDBConfig.cmake (+2-2)
``````````diff
diff --git a/lldb/cmake/modules/LLDBConfig.cmake b/lldb/cmake/modules/LLDBConfig.cmake
index 1bc494a48cb03..606639a3c5373 100644
--- a/lldb/cmake/modules/LLDBConfig.cmake
+++ b/lldb/cmake/modules/LLDBConfig.cmake
@@ -329,7 +329,7 @@ endif()
if (NOT DEFINED LLDB_CAN_USE_LLDB_RPC_SERVER)
if ((CMAKE_CROSSCOMPILING OR LLVM_HOST_TRIPLE MATCHES "${LLVM_DEFAULT_TARGET_TRIPLE}") AND
CMAKE_SYSTEM_NAME MATCHES "AIX|Android|Darwin|FreeBSD|Linux|NetBSD|OpenBSD|Windows")
- set(LLDB_CAN_USE_LLDB_RPC_SERVER ON)
+ set(LLDB_CAN_USE_LLDB_RPC_SERVER OFF)
else()
set(LLDB_CAN_USE_LLDB_RPC_SERVER OFF)
endif()
@@ -339,7 +339,7 @@ if (CMAKE_CROSSCOMPILING)
set(LLDB_BUILD_LLDBRPC OFF CACHE BOOL "")
get_host_tool_path(lldb-rpc-gen LLDB_RPC_GEN_EXE lldb_rpc_gen_exe lldb_rpc_gen_target)
else()
- set(LLDB_BUILD_LLDBRPC ON CACHE BOOL "")
+ set(LLDB_BUILD_LLDBRPC OFF CACHE BOOL "")
endif()
include(LLDBGenerateConfig)
``````````
</details>
https://github.com/llvm/llvm-project/pull/150699
More information about the lldb-commits
mailing list