charles-zablit wrote:

I don't see a case where `LLDB_ENABLE_PYTHON=OFF` and the target exists. 
However, `LLDB_ENABLE_PYTHON=ON` and a missing target is possible when 
`LLVM_ENABLE_IDE` is set: 
https://github.com/llvm/llvm-project/blob/dd145eb8997878143f648a7601741f6409330963/lldb/bindings/python/CMakeLists.txt#L186

I removed the `LLDB_ENABLE...` parts of the if.

> Also this fixes a Windows issue but the fix seems quite generic. Has this 
> also been an issue for Linux and we've not noticed it?

We also need liblldb on Linux and macOS, but we are not copying it on these 
platforms either. I assume that the issue also exists on other platforms then. 
I will confirm this.

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

Reply via email to