This is an archive of the discontinued LLVM Phabricator instance.

[lit] Update lit.py shebang for Python3
ClosedPublic

Authored by yln on Jan 25 2021, 1:51 PM.

Details

Summary

Update shebang to always use Python3 when executing lit.py directly.

A previous change of mine [1] revealed that we still use Python2 on some
bot configurations that invoke llvm/utils/lit/lit.py as a script
directly (instead of python3 path/to/lit.py).

[1] https://reviews.llvm.org/D94734

Diff Detail

Event Timeline

yln created this revision.Jan 25 2021, 1:51 PM
yln requested review of this revision.Jan 25 2021, 1:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 25 2021, 1:51 PM
yln added a reviewer: keith.Jan 25 2021, 1:55 PM
keith accepted this revision.Jan 25 2021, 2:00 PM
This revision is now accepted and ready to land.Jan 25 2021, 2:00 PM
This revision was automatically updated to reflect the committed changes.