1 --- llvm-9.0.0.src/CMakeLists.txt.orig 2019-08-26 14:31:37.000000000 +0200
2 +++ llvm-9.0.0.src/CMakeLists.txt 2019-12-04 00:12:17.536142461 +0100
4 set(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR OFF CACHE BOOL
5 "Enable per-target runtimes directory")
7 +include(FindPythonInterp)
8 +if( NOT PYTHONINTERP_FOUND )
10 +"Unable to find Python interpreter, required for builds and testing.
12 +Please install Python or specify the PYTHON_EXECUTABLE CMake variable.")
15 +if( ${PYTHON_VERSION_STRING} VERSION_LESS 2.7 )
16 + message(FATAL_ERROR "Python 2.7 or newer is required")
19 # All options referred to from HandleLLVMOptions have to be specified
20 # BEFORE this include, otherwise options will not be correctly set on
24 include(HandleLLVMOptions)
26 -include(FindPythonInterp)
27 -if( NOT PYTHONINTERP_FOUND )
29 -"Unable to find Python interpreter, required for builds and testing.
31 -Please install Python or specify the PYTHON_EXECUTABLE CMake variable.")
34 -if( ${PYTHON_VERSION_STRING} VERSION_LESS 2.7 )
35 - message(FATAL_ERROR "Python 2.7 or newer is required")
39 # LLVMBuild Integration