[lldb-dev] RFC: Eliminate LLDB_DISABLE_PYTHON
Pavel Labath via lldb-dev
lldb-dev at lists.llvm.org
Thu Mar 7 11:50:51 PST 2019
On 07/03/2019 20:29, Davide Italiano via lldb-dev wrote:
> I'm in favor of this. FWIW, I will be surprised if lldb works at all
> with that option.
I would actually be also surprised if it works. However, the option I
think is important to keep is to be able to build lldb-server without
python around. Nobody uses the lldb client on android (in fact, I'm
pretty sure it doesn't work), but lldb-server is used there. Getting a
working python for android is hard, and it seems counterproductive to
ask somebody to do it, when lldb-server does not even use python.
If we can factor the code in such a way that code requiring python is
not built/used when building lldb-server, then making python support
mandatory for the rest seems reasonable to me.
More information about the lldb-dev