[llvm-dev] Can lit be upgraded to assume Python 2.7?

Justin Bogner via llvm-dev llvm-dev at lists.llvm.org
Wed Feb 24 12:58:50 PST 2016


Renato Golin via llvm-dev <llvm-dev at lists.llvm.org> writes:
> On 24 February 2016 at 19:49, Sean Silva via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>> Great! I'll circle around to this at some point. Despite the "obvious"
>> nature of it I still am wary of underestimating the cruftiness of the
>> buildbots, so I'll probably do it some time at night when the bots are
>> mostly green so that I can easily see if any bots *are* broken by this.
>
> While at it, can you call "env python2" in the shebang line? It makes
> it a lot easier for Python3 systems, like Arch.

This is dangerous. I believe it's still the case that many systems don't
provide a "python2", but only python, python2.6, python2.7, etc.


More information about the llvm-dev mailing list