llvm-toolchain/debian/patches/lower-python-dep.diff
2021-06-03 23:21:53 +02:00

16 lines
770 B
Diff

Index: llvm-toolchain-snapshot_13~++20210603111529+5c0d1b2f902a/llvm/cmake/modules/HandleLLVMOptions.cmake
===================================================================
--- llvm-toolchain-snapshot_13~++20210603111529+5c0d1b2f902a.orig/llvm/cmake/modules/HandleLLVMOptions.cmake
+++ llvm-toolchain-snapshot_13~++20210603111529+5c0d1b2f902a/llvm/cmake/modules/HandleLLVMOptions.cmake
@@ -1205,8 +1205,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)