[cfe-dev] Testing C++14 mode in libc++

Larisse Voufo lvoufo at google.com
Fri Feb 20 12:16:27 PST 2015


On Fri, Feb 20, 2015 at 11:46 AM, Eric Fiselier <eric at efcs.ca> wrote:

> What compiler are you using?
>

clang 3.7 (trunk).


>
> >However, I can't help but think that they ought to be a way to
> systematically test this mode (without messing with lit.site.cfg) before
> shipping it off... to the buildbots...
>
> see: http://libcxx.llvm.org/lit_usage.html


Thanks. Looks like

$lit --param std=c++1y ...

works but

$lit --param std=c++14 ...

does not, with  "error: invalid value 'c++14' in '-std=c++14'".



>
>
> /Eric
>
> On Fri, Feb 20, 2015 at 2:08 PM, Larisse Voufo <lvoufo at google.com> wrote:
> >
> >
> > On Fri, Feb 20, 2015 at 10:01 AM, Dan Albert <danalbert at google.com>
> wrote:
> >>
> >> On Fri, Feb 20, 2015 at 9:49 AM, Larisse Voufo <lvoufo at google.com>
> wrote:
> >>>
> >>> On Thu, Feb 19, 2015 at 11:11 PM, Dan Albert <danalbert at google.com>
> >>> wrote:
> >>>>
> >>>> Looks like we have a buildbot that says things are fine over here:
> >>>>
> http://lab.llvm.org:8011/builders/libcxx-libcxxabi-x86_64-linux-ubuntu-cxx14
> >>>
> >>> Thanks for the link, Dan. However, I can't help but think that they
> ought
> >>> to be a way to systematically test this mode (without messing with
> >>> lit.site.cfg) before shipping it off... to the buildbots...
> >>> Am I to understand that the general practice here is to just rely on
> the
> >>> buildbots?
> >>
> >>
> >> Not what I meant to imply :) Just meant that it looks like they should
> be
> >> passing.
> >
> >
> > Ok. Didn't think that meant to. Just wanted to clarify. :)
> >>>>
> >>>> I think there was actually some discussion of this on IRC earlier
> today.
> >>>> What little I saw made it sound like those were known failures if
> you're
> >>>> using an older version if clang (such as the one that ships with
> xcode).
> >>>
> >>> This would be impossible in my case since I am working with llvm
> trunk...
> >>
> >>
> >> Hmm. I just tested in my own tree, and I see them all pass just by
> >> changing lit.site.cfg. I'm a little out of date though, r229176.
> >
> >
> > Ok. Strange. Let me make sure I'm not doing anything "funky" then.
> >
> >>
> >>
> >>
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150220/070907a7/attachment.html>


More information about the cfe-dev mailing list