mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-18 18:42:46 +02:00
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
This commit is contained in:
parent
eecd26ab7d
commit
95b0d08af1
@ -641,10 +641,8 @@ option(LLVM_ENABLE_PLUGINS "Enable plugin support" ${LLVM_ENABLE_PLUGINS_default
|
|||||||
|
|
||||||
include(HandleLLVMOptions)
|
include(HandleLLVMOptions)
|
||||||
|
|
||||||
# Verify that we can find a Python 2 interpreter. Python 3 is unsupported.
|
# We support both Python 2 and 3.
|
||||||
# FIXME: We should support systems with only Python 3, but that requires work
|
set(Python_ADDITIONAL_VERSIONS 3.7 3.6 3.5 2.7)
|
||||||
# on LLDB.
|
|
||||||
set(Python_ADDITIONAL_VERSIONS 2.7)
|
|
||||||
include(FindPythonInterp)
|
include(FindPythonInterp)
|
||||||
if( NOT PYTHONINTERP_FOUND )
|
if( NOT PYTHONINTERP_FOUND )
|
||||||
message(FATAL_ERROR
|
message(FATAL_ERROR
|
||||||
|
Loading…
Reference in New Issue
Block a user