https://github.com/chelcassanova created 
https://github.com/llvm/llvm-project/pull/150699

Disabling the lldb-rpc-gen tool while issues with certain builds are solved: 
https://github.com/llvm/llvm-project/pull/148996

>From cd91a8c70687e28fe1089e24cbcd45d3c44d0133 Mon Sep 17 00:00:00 2001
From: Chelsea Cassanova <chelsea_cassan...@apple.com>
Date: Fri, 25 Jul 2025 13:43:43 -0700
Subject: [PATCH] [lldb][rpc] Disable building lldb-rpc-gen tool

Disabling the lldb-rpc-gen tool while issues with certain builds are
solved: https://github.com/llvm/llvm-project/pull/148996
---
 lldb/cmake/modules/LLDBConfig.cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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)

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to