[Lldb-commits] [lldb] [lldb] Add PythonRuntimeLoader for runtime libpython lookup (NFC) (PR #200524)
Martin Storsjö via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 3 02:32:40 PDT 2026
mstorsjo wrote:
This change broke Linux builds with Python disabled/missing (e.g. `-DLLDB_ENABLE_PYTHON=OFF`) like this:
```
CMake Error at cmake/modules/LLVMProcessSources.cmake:113 (message):
Found erroneous configuration for source file PythonRuntimeLoaderTest.cpp
LLVM's build system enforces that all source files are added to a build
target, that exactly one build target exists in each directory, and that
this target lists all files in that directory. If you want multiple
targets in the same directory, add PARTIAL_SOURCES_INTENDED to the target
specification, though it is discouraged.
Please update
/home/martin/code/llvm-project/lldb/unittests/Host/CMakeLists.txt
Call Stack (most recent call first):
cmake/modules/LLVMProcessSources.cmake:59 (llvm_check_source_file_list)
cmake/modules/AddLLVM.cmake:1083 (llvm_process_sources)
cmake/modules/AddLLVM.cmake:1148 (generate_llvm_objects)
cmake/modules/AddLLVM.cmake:1912 (add_llvm_executable)
/home/martin/code/llvm-project/lldb/unittests/CMakeLists.txt:33 (add_unittest)
/home/martin/code/llvm-project/lldb/unittests/Host/CMakeLists.txt:39 (add_lldb_unittest)
```
https://github.com/llvm/llvm-project/pull/200524
More information about the lldb-commits
mailing list