Patch for the fact that all llvm python scripts are python 2.x compatible.

Reid Kleckner rnk at google.com
Mon Jun 24 06:24:33 PDT 2013


This looks right to me.

Committed as r184732.


On Mon, Jun 24, 2013 at 4:59 AM, 罗勇刚(Yonggang Luo) <luoyonggang at gmail.com>wrote:

> Please take a view of this patch,
> This patch solved a problem that when both Python 2.x and Python 3.x
> installed on the Windows, the CMake detect the python 3.x executable.
>
>
>
> Force to use python 2.x series of python.
> Because under Win32, that's possible both Python 2.x and Python 3.x
> installed.
> and then FindPythonInterp will found python 3.x by default.
> So we use set(Python_ADDITIONAL_VERSIONS 2.7 2.6 2.5 2.4)
> to force use 2.x series of Python if both Python 2.x and Python 3.x exist.
>
>
> --
>          此致
>> 罗勇刚
> Yours
>     sincerely,
> Yonggang Luo
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130624/a70b4b96/attachment.html>


More information about the llvm-commits mailing list