[llvm] r224129 - Require python 2.7.

Filipe Cabecinhas filcab at gmail.com
Fri Dec 26 05:07:19 PST 2014


If you want to make argparse work with 2.6, there's a minimum compatibility
module in lldb/tests that you can use. But I'd prefer to just require 2.7,
too :-)


On Friday, December 26, 2014, Rafael EspĂ­ndola <rafael.espindola at gmail.com>
wrote:

> I have emailed a patch adding a cmake check. I will ping it.
>
>
> On 25 December 2014 at 17:34, Hal Finkel <hfinkel at anl.gov <javascript:;>>
> wrote:
> > ----- Original Message -----
> >> From: "Rafael EspĂ­ndola" <rafael.espindola at gmail.com <javascript:;>>
> >> To: "Paul Robinson" <Paul_Robinson at playstation.sony.com <javascript:;>>
> >> Cc: llvm-commits at cs.uiuc.edu <javascript:;>
> >> Sent: Friday, December 12, 2014 1:05:24 PM
> >> Subject: Re: [llvm] r224129 - Require python 2.7.
> >>
> >> On 12 December 2014 at 13:42, Robinson, Paul
> >> <Paul_Robinson at playstation.sony.com <javascript:;>> wrote:
> >> > Is there corresponding cmake work to do?
> >>
> >> Looks like cmake doesn't enforce the minimum python version. Not sure
> >> if we would be better off if we started enforcing on the cmake side
> >> or
> >> if we dropped the autoconf check.
> >
> > I think we should check this in cmake too.
> TestCases/Posix/asan-symbolize-sanity-test.cc fails if I run the tests
> using a python 2.6 install with this error:
> >
> > Traceback (most recent call last):
> >   File
> "/path/to/llvm/projects/compiler-rt/lib/asan/scripts/asan_symbolize.py",
> line 10, in <module>
> >     import argparse
> > ImportError: No module named argparse
> >
> > , but works fine with a 2.7 build, so enforcing 2.7 at configure time
> seems like a good idea.
> >
> >  -Hal
> >
> >>
> >> Cheers,
> >> Rafael
> >> _______________________________________________
> >> llvm-commits mailing list
> >> llvm-commits at cs.uiuc.edu <javascript:;>
> >> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> >>
> >
> > --
> > Hal Finkel
> > Assistant Computational Scientist
> > Leadership Computing Facility
> > Argonne National Laboratory
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu <javascript:;>
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>


-- 
  F
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141226/695324da/attachment.html>


More information about the llvm-commits mailing list