https://github.com/aobolensk created 
https://github.com/llvm/llvm-project/pull/201361

with LLDB_ENABLE_PYTHON=OFF

PythonRuntimeLoaderTest.cpp is only added to the target when Python is enabled, 
which orphaned the source and broke configuration otherwise

culprit PR: https://github.com/llvm/llvm-project/pull/200524

>From 39fd22f999e0149b712da21051169c9c1bc8f36b Mon Sep 17 00:00:00 2001
From: Arseniy Obolenskiy <[email protected]>
Date: Wed, 3 Jun 2026 15:49:46 +0200
Subject: [PATCH] [lldb] Add PARTIAL_SOURCES_INTENDED to HostTests to fix build
 with LLDB_ENABLE_PYTHON=OFF

PythonRuntimeLoaderTest.cpp is only added to the target when Python is enabled, 
which orphaned the source and broke configuration otherwise

culprit PR: https://github.com/llvm/llvm-project/pull/200524
---
 lldb/unittests/Host/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lldb/unittests/Host/CMakeLists.txt 
b/lldb/unittests/Host/CMakeLists.txt
index da35a19a2c98a..73dfe13ee54ad 100644
--- a/lldb/unittests/Host/CMakeLists.txt
+++ b/lldb/unittests/Host/CMakeLists.txt
@@ -38,6 +38,7 @@ endif()
 
 add_lldb_unittest(HostTests
   ${FILES}
+  PARTIAL_SOURCES_INTENDED
   LINK_LIBS
     lldbHost
     lldbCore

_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to