[Lldb-commits] [lldb] [lldb] Add PARTIAL_SOURCES_INTENDED to HostTests to fix build (PR #201361)

via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 3 06:52:02 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Arseniy Obolenskiy (aobolensk)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/201361.diff


1 Files Affected:

- (modified) lldb/unittests/Host/CMakeLists.txt (+1) 


``````````diff
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

``````````

</details>


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


More information about the lldb-commits mailing list