[LLVMdev] [RFC] Requiring python 2.6

Kevin Modzelewski kevmod at gmail.com
Mon Dec 15 23:56:42 PST 2014


Minor point, but it looks like the Python community wants "python" to
always link to "python2" (though they acknowledge the existence of systems
where this isn't the case):
https://www.python.org/dev/peps/pep-0394/

On Mon, Dec 15, 2014 at 8:36 AM, Dan Liew <dan at su-root.co.uk> wrote:
>
> > I wish if configurator(s) would detect suffixed python. I am using
> > /usr/bin/python3 (or python3.3).
>
> Could you not just setup a symlink on your builder? On my system
> /usr/bin/python is a symlink to python3 but I could easily change it
> to point to python2.7
>
> $ ls -l /usr/bin/python
> lrwxrwxrwx 1 root root     7 Oct  8 14:58 /usr/bin/python -> python3
> lrwxrwxrwx 1 root root     9 Sep 24 11:40 /usr/bin/python2 -> python2.7
> -rwxr-xr-x 1 root root  6240 Sep 24 11:40 /usr/bin/python2.7
> -rwxr-xr-x 1 root root  1668 Sep 24 11:40 /usr/bin/python2.7-config
> lrwxrwxrwx 1 root root    16 Sep 24 11:40 /usr/bin/python2-config ->
> python2.7-config
> -rwxr-xr-x 1 root root    94 Nov 15 04:27 /usr/bin/python2-pyuic4
> lrwxrwxrwx 1 root root     9 Oct  8 14:58 /usr/bin/python3 -> python3.4
> -rwxr-xr-x 2 root root 10392 Oct  8 14:58 /usr/bin/python3.4
> lrwxrwxrwx 1 root root    17 Oct  8 14:58 /usr/bin/python3.4-config ->
> python3.4m-config
> -rwxr-xr-x 2 root root 10392 Oct  8 14:58 /usr/bin/python3.4m
> -rwxr-xr-x 1 root root  3139 Oct  8 14:58 /usr/bin/python3.4m-config
> lrwxrwxrwx 1 root root    16 Oct  8 14:58 /usr/bin/python3-config ->
> python3.4-config
> lrwxrwxrwx 1 root root    14 Oct  8 14:58 /usr/bin/python-config ->
> python3-config
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141215/e6b1e90e/attachment.html>


More information about the llvm-dev mailing list