[Lldb-commits] [lldb] r365988 - Make Python version setting actually effective

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 12 20:30:55 PDT 2019


Author: jdevlieghere
Date: Fri Jul 12 20:30:55 2019
New Revision: 365988

URL: http://llvm.org/viewvc/llvm-project?rev=365988&view=rev
Log:
Make Python version setting actually effective

This needs to be outside the if to actually work. Also, this adjusts the
list of versions to match LLVM.

Patch by: Christian Biesinger

Differential revision: https://reviews.llvm.org/D64578

Modified:
    lldb/trunk/cmake/modules/LLDBStandalone.cmake

Modified: lldb/trunk/cmake/modules/LLDBStandalone.cmake
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/cmake/modules/LLDBStandalone.cmake?rev=365988&r1=365987&r2=365988&view=diff
==============================================================================
--- lldb/trunk/cmake/modules/LLDBStandalone.cmake (original)
+++ lldb/trunk/cmake/modules/LLDBStandalone.cmake Fri Jul 12 20:30:55 2019
@@ -87,8 +87,8 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURR
   include(CheckAtomic)
   include(LLVMDistributionSupport)
 
+  set(Python_ADDITIONAL_VERSIONS 3.7 3.6 3.5 2.7)
   if (PYTHON_EXECUTABLE STREQUAL "")
-    set(Python_ADDITIONAL_VERSIONS 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0 2.7 2.6 2.5)
     include(FindPythonInterp)
     if( NOT PYTHONINTERP_FOUND )
       message(FATAL_ERROR




More information about the lldb-commits mailing list