[LLVMdev] [RFC] Requiring python 2.6

Dan Liew dan at su-root.co.uk
Mon Dec 15 08:36:19 PST 2014


> 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



More information about the llvm-dev mailing list