diff options
| author | Nico Weber <nicolasweber@gmx.de> | 2019-07-10 19:31:25 +0000 |
|---|---|---|
| committer | Nico Weber <nicolasweber@gmx.de> | 2019-07-10 19:31:25 +0000 |
| commit | c23bc97e85f69c3c012f3fc540fd288d23d38ddf (patch) | |
| tree | 3d5f12556cb2a9a151b45b247aa59dbec49d2c98 | |
| parent | 780030844d45d6d16a6f3a669a00e090c1837c86 (diff) | |
| download | bcm5719-llvm-c23bc97e85f69c3c012f3fc540fd288d23d38ddf.tar.gz bcm5719-llvm-c23bc97e85f69c3c012f3fc540fd288d23d38ddf.zip | |
Add support for building with Python 3
LLDB supports Python 3 now.
Differential Revision: https://reviews.llvm.org/D64443
Patch from Christian Biesinger <cbiesinger@google.com>!
llvm-svn: 365692
| -rw-r--r-- | llvm/CMakeLists.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt index 1b5a6b9de98..acebd3feb8b 100644 --- a/llvm/CMakeLists.txt +++ b/llvm/CMakeLists.txt @@ -641,10 +641,8 @@ option(LLVM_ENABLE_PLUGINS "Enable plugin support" ${LLVM_ENABLE_PLUGINS_default include(HandleLLVMOptions) -# Verify that we can find a Python 2 interpreter. Python 3 is unsupported. -# FIXME: We should support systems with only Python 3, but that requires work -# on LLDB. -set(Python_ADDITIONAL_VERSIONS 2.7) +# We support both Python 2 and 3. +set(Python_ADDITIONAL_VERSIONS 3.7 3.6 3.5 2.7) include(FindPythonInterp) if( NOT PYTHONINTERP_FOUND ) message(FATAL_ERROR |

