aobolensk wrote:

> This change broke Linux/Windows 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)
> ```

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

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

Reply via email to