[PATCH] D64443: Add support for building with Python 3
Christian Biesinger via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 9 13:48:18 PDT 2019
cbiesinger updated this revision to Diff 208799.
cbiesinger added a comment.
Add 3.7 and 3.5
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64443/new/
https://reviews.llvm.org/D64443
Files:
llvm/CMakeLists.txt
Index: llvm/CMakeLists.txt
===================================================================
--- llvm/CMakeLists.txt
+++ llvm/CMakeLists.txt
@@ -641,10 +641,8 @@
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64443.208799.patch
Type: text/x-patch
Size: 565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190709/40ca85c4/attachment.bin>
More information about the llvm-commits
mailing list