[CMake] Require python 3.6 if enabling LLVM test targets
authorChristopher Tetreault <ctetreau@quicinc.com>
Mon, 15 Mar 2021 16:33:31 +0000 (09:33 -0700)
committerChristopher Tetreault <ctetreau@quicinc.com>
Mon, 15 Mar 2021 16:50:39 +0000 (09:50 -0700)
commit39970764af39415ad62136ff75b0f89577c18037
treed0525fd457ee519bbfcd32829196e99a958b2b91
parent3dc5b533e093ee5df92b3c11ee2150869e83b8a6
[CMake] Require python 3.6 if enabling LLVM test targets

The lit test suite uses python 3.6 features. Rather than a strange
python syntax error upon running the lit tests, we will require the
correct version in CMake.

Reviewed By: serge-sans-paille, yln

Differential Revision: https://reviews.llvm.org/D95635
clang/CMakeLists.txt
lld/CMakeLists.txt
llvm/CMakeLists.txt
llvm/cmake/modules/HandleLLVMOptions.cmake
mlir/CMakeLists.txt