]> git.pld-linux.org Git - packages/llvm.git/blob - llvm-python-modules.patch
up to 15.0.2
[packages/llvm.git] / llvm-python-modules.patch
1 --- llvm-11.0.0.src/CMakeLists.txt.orig 2020-10-07 12:10:48.000000000 +0200
2 +++ llvm-11.0.0.src/CMakeLists.txt      2020-10-13 01:18:33.807817497 +0200
3 @@ -646,6 +646,9 @@
4  set(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR ${LLVM_ENABLE_PER_TARGET_RUNTIME_DIR_default} CACHE BOOL
5    "Enable per-target runtimes directory")
6  
7 +find_package(Python3 ${LLVM_MINIMUM_PYTHON_VERSION} REQUIRED
8 +    COMPONENTS Interpreter)
9 +
10  set(LLVM_PROFDATA_FILE "" CACHE FILEPATH
11    "Profiling data file to use when compiling in order to improve runtime performance.")
12  
13 @@ -679,9 +691,6 @@
14  
15  include(HandleLLVMOptions)
16  
17 -find_package(Python3 ${LLVM_MINIMUM_PYTHON_VERSION} REQUIRED
18 -    COMPONENTS Interpreter)
19 -
20  ######
21  
22  # Configure all of the various header file fragments LLVM uses which depend on
This page took 0.047301 seconds and 3 git commands to generate.