[RFC][OpenMP] Update to Python3 for lit test
authorShilei Tian <i@tianshilei.me>
Tue, 27 Dec 2022 02:39:33 +0000 (21:39 -0500)
committerShilei Tian <i@tianshilei.me>
Tue, 27 Dec 2022 02:39:51 +0000 (21:39 -0500)
commit40079637569f999015eaf3f7e137a63b2c8ade92
treed63db17411a8bd3cee76228db92c3dc4bad12b9e
parentba2bb63562faad380c1061520da3ba611887d740
[RFC][OpenMP] Update to Python3 for lit test

I think it's reasonable to upgrade to Python 3 for LIT test requirement because `lit` itself (`llvm/utils/lit/lit.py`) already switched to Python 3. In addition, LLVM already requires Python 3.6 to be the minimum version (https://llvm.org/docs/GettingStarted.html#software).

Reviewed By: jdoerfert, jhuber6

Differential Revision: https://reviews.llvm.org/D139855
openmp/cmake/OpenMPTesting.cmake