================ @@ -326,27 +326,19 @@ endif() # In a cross-compile build, we need to skip building the generated # lldb-rpc sources in the first phase of host build so that they can # get built using the just-built Clang toolchain in the second phase. -if (NOT DEFINED LLDB_CAN_USE_LLDB_RPC_SERVER) - set(LLDB_CAN_USE_LLDB_RPC_SERVER OFF) +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) ---------------- mstorsjo wrote:
Wouldn't this enable this build configuration for macOS universal builds, where we still expect this to fail? https://github.com/llvm/llvm-project/pull/151603 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits