File tree 5 files changed +13
-8
lines changed
5 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -903,8 +903,8 @@ set(LLVM_PROFDATA_FILE "" CACHE FILEPATH
903
903
"Profiling data file to use when compiling in order to improve runtime performance." )
904
904
905
905
if (LLVM_INCLUDE_TESTS)
906
- # Lit test suite requires at least python 3.6
907
- set (LLVM_MINIMUM_PYTHON_VERSION 3.6 )
906
+ # All LLVM Python files should be compatible down to this minimum version.
907
+ set (LLVM_MINIMUM_PYTHON_VERSION 3.8 )
908
908
else ()
909
909
# FIXME: it is unknown if this is the actual minimum bound
910
910
set (LLVM_MINIMUM_PYTHON_VERSION 3.0)
Original file line number Diff line number Diff line change @@ -292,16 +292,16 @@ uses the package and provides other details.
292
292
Package Version Notes
293
293
=========================================================== ============ ==========================================
294
294
`CMake <http://cmake.org/ >`__ >=3.20.0 Makefile/workspace generator
295
- `python <http://www.python.org/ >`_ >=3.6 Automated test suite\ :sup: `1`
295
+ `python <http://www.python.org/ >`_ >=3.8 Automated test suite\ :sup: `1`
296
296
`zlib <http://zlib.net >`_ >=1.2.3.4 Compression library\ :sup: `2`
297
297
`GNU Make <http://savannah.gnu.org/projects/make >`_ 3.79, 3.79.1 Makefile/build processor\ :sup: `3`
298
298
=========================================================== ============ ==========================================
299
299
300
300
.. note ::
301
301
302
- #. Only needed if you want to run the automated test suite. Python 3.8.0
303
- or later is needed on Windows if a substitute (virtual) drive is used
304
- to access LLVM source code due to `` MAX_PATH `` limitations .
302
+ #. Only needed if you want to run the automated test suite in the
303
+ `` llvm/test `` directory, or if you plan to utilize any Python libraries,
304
+ utilities, or bindings .
305
305
#. Optional, adds compression / uncompression capabilities to selected LLVM
306
306
tools.
307
307
#. Optional, you can use any other build tool supported by CMake.
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ Visual Studio 2019 so separate installation is not required. If you do install
55
55
CMake separately, Visual Studio 2022 will require CMake Version 3.21 or later.
56
56
57
57
If you would like to run the LLVM tests you will need `Python
58
- <http://www.python.org/> `_. Version 3.6 and newer are known to work. You can
58
+ <http://www.python.org/> `_. Version 3.8 and newer are known to work. You can
59
59
install Python with Visual Studio 2019, from the Microsoft store or from
60
60
the `Python web site <http://www.python.org/ >`_. We recommend the latter since it
61
61
allows you to adjust installation options.
Original file line number Diff line number Diff line change @@ -47,6 +47,11 @@ Non-comprehensive list of changes in this release
47
47
Update on required toolchains to build LLVM
48
48
-------------------------------------------
49
49
50
+ * The minimum Python version has been raised from 3.6 to 3.8 across all of LLVM.
51
+ This enables the use of many new Python features, aligning more closely with
52
+ modern Python best practices, and improves CI maintainability
53
+ See `#78828 <https://github.com/llvm/llvm-project/pull/78828 >`_ for more info.
54
+
50
55
Changes to the LLVM IR
51
56
----------------------
52
57
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Requirements
23
23
============
24
24
25
25
In order to use the LLVM testing infrastructure, you will need all of the
26
- software required to build LLVM, as well as `Python <http://python.org >`_ 3.6 or
26
+ software required to build LLVM, as well as `Python <http://python.org >`_ 3.8 or
27
27
later.
28
28
29
29
LLVM Testing Infrastructure Organization
You can’t perform that action at this time.
0 commit comments