llvm-toolchain/debian/patches/lower-python-dep.diff
2022-07-24 14:14:51 +02:00

16 lines
770 B
Diff

Index: llvm-toolchain-snapshot_15~++20220724113059+7feab85df8e8/llvm/cmake/modules/HandleLLVMOptions.cmake
===================================================================
--- llvm-toolchain-snapshot_15~++20220724113059+7feab85df8e8.orig/llvm/cmake/modules/HandleLLVMOptions.cmake
+++ llvm-toolchain-snapshot_15~++20220724113059+7feab85df8e8/llvm/cmake/modules/HandleLLVMOptions.cmake
@@ -1255,8 +1255,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)