[PATCH] Remove explicit python version list
authorChristian Biesinger <cbiesinger@chromium.org>
Thu, 18 Jul 2019 19:52:36 +0000 (14:52 -0500)
committerGianfranco Costamagna <locutusofborg@debian.org>
Sat, 15 Aug 2020 20:34:33 +0000 (21:34 +0100)
This is required to make -DPYTHON_EXECUTABLE work correctly

Gbp-Pq: Name 0050-Remove-explicit-python-version-list.patch

CMakeLists.txt

index e800a29944daab32a41142be09459ac7654715b6..2ca6c172b33d0950287a02a5417374f99f2cc038 100644 (file)
@@ -603,10 +603,6 @@ message(STATUS "LLVM default target triple: ${LLVM_DEFAULT_TARGET_TRIPLE}")
 
 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)
 include(FindPythonInterp)
 if( NOT PYTHONINTERP_FOUND )
   message(FATAL_ERROR