[lldb-dev] RFC: Eliminate LLDB_DISABLE_PYTHON

Adrian McCarthy via lldb-dev lldb-dev at lists.llvm.org
Thu Mar 7 10:27:48 PST 2019


We have a build option to build LLDB without Python.  This option is
automatically set if Cmake can't find or "validate" your Python
distribution.

Since LLDB is rarely built with this option, nobody discovers when this
configuration breaks.  For example, if you try it today, you'll get a
handful of missing symbol errors because their declarations are #if'ed out
but other code still references them.

I'm proposing eliminating this option and fixing the validation of the
Python distribution in LLDBConfig.cmake.

If you believe LLDB_DISABLE_PYTHON is still useful, please speak up, and
I'll instead look at fixing the existing build problems.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20190307/c5227e6d/attachment-0001.html>


More information about the lldb-dev mailing list