[PATCH] D42450: [utils] Convert update_{llc_, }test_checks.py to Python 3
Matthias Braun via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 24 17:22:43 PST 2018
MatzeB added a comment.
In https://reviews.llvm.org/D42450#987234, @bogner wrote:
> In https://reviews.llvm.org/D42450#987039, @MatzeB wrote:
>
> > > so I must've done something to be able to run these scripts on my machine. :)
> >
> > Well installing any homebrew or macports python (which is often a dependency for other packages) will give you a python2 with the proper symlinks in place. It's usually people maintaining CI infrastructured that are bothered by macOS (or linux) default installations.
>
>
> Mac's system python comes with a python2.7 symlink. Today you don't need to do anything for this script to work.
I remembered that some scripts didn't work on macOS out of the box, but indeed `python2.7` exists. It looks like just a `python2` symlink is missing.
Repository:
rL LLVM
https://reviews.llvm.org/D42450
More information about the llvm-commits
mailing list