[all-commits] [llvm/llvm-project] 6f1d4f: [lit] Update lit.py shebang for Python3

Julian Lettner via All-commits all-commits at lists.llvm.org
Mon Jan 25 17:30:26 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f1d4fb8fc52428ed2388e0e3df5bbb646964ef1
  Author: Julian Lettner <julian.lettner at apple.com>
  Date:   2021-01-25 (Mon, 25 Jan 2021)

  Changed paths:
    M llvm/utils/lit/lit.py

  Log Message:
  [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

More information about the All-commits mailing list