[patch] Update the cmake python version check

Chandler Carruth chandlerc at google.com
Mon Dec 29 11:26:42 PST 2014


This will actually break LLDB by selecting Python3 on systems which have it
rather than forcing Python 2.7. =[

I'll apply the more minimal patch that just checks for 2.7. Not likely
going to be able to fix the python3 issues in LLDB.

On Thu, Dec 25, 2014 at 5:04 PM, Rafael Espíndola <
rafael.espindola at gmail.com> wrote:

> ping
>
> On 15 December 2014 at 14:38, Rafael Espíndola
> <rafael.espindola at gmail.com> wrote:
> > Oops.
> >
> > Updated patch attached.
> >
> > On 15 December 2014 at 12:14, Jonathan Roelofs
> > <jonathan at codesourcery.com> wrote:
> >>> -set(Python_ADDITIONAL_VERSIONS 2.7 2.6 2.5)
> >>> +# Verify that we can find a Pytho interpreter.
> >> s/Pytho/Python/
> >>
> >>
> >>
> >> On 12/15/14 9:59 AM, Rafael Espíndola wrote:
> >>>
> >>> The attached patch updates the handling of python in the cmake build:
> >>>
> >>> * We now support python 3, so we don't need to special cases systems
> >>> with non "python" but with "python2" and "python3" interpreters.
> >>> * We were not checking the python version. With this patch we have the
> >>> same check as configure.
> >>>
> >>> Cheers,
> >>> Rafael
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> llvm-commits mailing list
> >>> llvm-commits at cs.uiuc.edu
> >>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> >>>
> >>
> >> --
> >> Jon Roelofs
> >> jonathan at codesourcery.com
> >> CodeSourcery / Mentor Embedded
>
> _______________________________________________
> 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/20141229/ae5007fd/attachment.html>


More information about the llvm-commits mailing list