In addition to having the default fallback from Python 3 to Python 2, it should also be possible to build against Python 2 explicitly. This patch makes that possible by setting LLDB_PYTHON_VERSION. The variable only has effect with CMake 3.12 or later. Differential revision: https://reviews.llvm.org/D81501
4.0 KiB
4.0 KiB