[lldb-dev] RFC: Eliminate LLDB_DISABLE_PYTHON

Davide Italiano via lldb-dev lldb-dev at lists.llvm.org
Thu Mar 7 11:29:05 PST 2019


I'm in favor of this. FWIW, I will be surprised if lldb works at all
with that option.

On Thu, Mar 7, 2019 at 10:28 AM Adrian McCarthy via lldb-dev
<lldb-dev at lists.llvm.org> wrote:
>
> 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.
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


More information about the lldb-dev mailing list