llvm-toolchain/debian/patches/lower-python-dep.diff
2021-03-25 13:01:48 +01:00

16 lines
770 B
Diff

Index: llvm-toolchain-snapshot_13~++20210325124256+06411edb9fca/llvm/cmake/modules/HandleLLVMOptions.cmake
===================================================================
--- llvm-toolchain-snapshot_13~++20210325124256+06411edb9fca.orig/llvm/cmake/modules/HandleLLVMOptions.cmake
+++ llvm-toolchain-snapshot_13~++20210325124256+06411edb9fca/llvm/cmake/modules/HandleLLVMOptions.cmake
@@ -1192,8 +1192,8 @@ if(LLVM_USE_RELATIVE_PATHS_IN_FILES)
endif()
if(LLVM_INCLUDE_TESTS)
- # Lit test suite requires at least python 3.6
- set(LLVM_MINIMUM_PYTHON_VERSION 3.6)
+ # Lit test suite requires at least python 3.5
+ set(LLVM_MINIMUM_PYTHON_VERSION 3.5)
else()
# FIXME: it is unknown if this is the actual minimum bound
set(LLVM_MINIMUM_PYTHON_VERSION 3.0)