1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

[lit] Update lit.py shebang for Python3

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

Differential Revision: https://reviews.llvm.org/D95393
This commit is contained in:
Julian Lettner 2021-01-25 13:46:00 -08:00
parent 907267f02a
commit ecf1c231ae

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
from lit.main import main from lit.main import main