This is an archive of the discontinued LLVM Phabricator instance.

[debuginfo-tests] Remove explicit checks for Python 3
ClosedPublic

Authored by jhenderson on Feb 11 2021, 6:52 AM.

Details

Summary

LLVM has a minimum requirement of python 3.6 now, so these are no longer needed.

Diff Detail

Event Timeline

jhenderson created this revision.Feb 11 2021, 6:52 AM
jhenderson requested review of this revision.Feb 11 2021, 6:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 11 2021, 6:52 AM
aprantl accepted this revision.Feb 12 2021, 9:12 AM

So CMake for LLVM will fail without Python3?
If that's the case then this LGTM.

This revision is now accepted and ready to land.Feb 12 2021, 9:12 AM

So CMake for LLVM will fail without Python3?
If that's the case then this LGTM.

Yes, the LLVM core CMakeLists.txt located at llvm/CMakeLists.txt already has the check that has been removed from the debuginfo-tests. As debuginfo-tests cannot be configured by a direct CMake execution, this seems reasonable to me (even if CMake did somehow successfully generate targets for check-debuginfo-tests or similar, it would quickly fail if the user wasn't using python 3).

This revision was automatically updated to reflect the committed changes.