]> git.pld-linux.org Git - packages/llvm.git/blobdiff - llvm-python-modules.patch
initial update to 9.0.0
[packages/llvm.git] / llvm-python-modules.patch
index 461d6f1cad7bcab5e586f6eb1cd697fea643d5f9..5a013239b62b248ee1a7bb0a7ccbe61bcfa7f91c 100644 (file)
@@ -1,14 +1,9 @@
-python modules detection in config-ix relies on PYTHON_EXECUTABLE
---- llvm-8.0.1.src/CMakeLists.txt.orig 2019-09-15 20:47:11.346277376 +0200
-+++ llvm-8.0.1.src/CMakeLists.txt      2019-10-05 16:14:04.833671630 +0200
-@@ -579,6 +579,22 @@
+--- llvm-9.0.0.src/CMakeLists.txt.orig 2019-08-26 14:31:37.000000000 +0200
++++ llvm-9.0.0.src/CMakeLists.txt      2019-12-04 00:12:17.536142461 +0100
+@@ -612,6 +612,18 @@
  set(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR OFF CACHE BOOL
    "Enable per-target runtimes directory")
  
-+# 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
@@ -24,14 +19,10 @@ python modules detection in config-ix relies on PYTHON_EXECUTABLE
  # All options referred to from HandleLLVMOptions have to be specified
  # BEFORE this include, otherwise options will not be correctly set on
  # first cmake run
-@@ -598,22 +614,6 @@
+@@ -642,18 +654,6 @@
  
  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
This page took 0.04677 seconds and 4 git commands to generate.