llvm-toolchain/debian/patches/lower-python-dep.diff
2024-04-20 22:34:20 +02:00

14 lines
674 B
Diff

Index: llvm-toolchain-snapshot_19~++20240420103213+a3f07d36cbc9/llvm/CMakeLists.txt
===================================================================
--- llvm-toolchain-snapshot_19~++20240420103213+a3f07d36cbc9.orig/llvm/CMakeLists.txt
+++ llvm-toolchain-snapshot_19~++20240420103213+a3f07d36cbc9/llvm/CMakeLists.txt
@@ -904,7 +904,7 @@ set(LLVM_PROFDATA_FILE "" CACHE FILEPATH
if(LLVM_INCLUDE_TESTS)
# All LLVM Python files should be compatible down to this minimum version.
- set(LLVM_MINIMUM_PYTHON_VERSION 3.8)
+ 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)