[prev in list] [next in list] [prev in thread] [next in thread]
List: cfe-dev
Subject: Re: [cfe-dev] Testing C++14 mode in libc++
From: Larisse Voufo <lvoufo () google ! com>
Date: 2015-02-23 19:10:10
Message-ID: CAKB+xA-W9LZjOKnF5i_UHsqy+QBydLJ5uHDtUSkJp5hc4Fmkeg () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Roger. Thanks.
On Fri, Feb 20, 2015 at 2:50 PM, Justin Bogner <mail@justinbogner.com>
wrote:
> Larisse Voufo <lvoufo@google.com> writes:
> > On Fri, Feb 20, 2015 at 11:46 AM, Eric Fiselier <eric@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'".
>
> IIRC you need to set --param cxx_under_test=/path/to/clang or these
> tests will run with your system compiler. If you're getting invalid
> value 'c++14', the clang you're using is not trunk (definitely pre-3.6).
>
[Attachment #5 (text/html)]
<div dir="ltr">Roger. Thanks.<div><br></div></div><div class="gmail_extra"><br><div \
class="gmail_quote">On Fri, Feb 20, 2015 at 2:50 PM, Justin Bogner <span \
dir="ltr"><<a href="mailto:mail@justinbogner.com" \
target="_blank">mail@justinbogner.com</a>></span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><span class="">Larisse Voufo <<a \
href="mailto:lvoufo@google.com">lvoufo@google.com</a>> writes:<br> > On Fri, \
Feb 20, 2015 at 11:46 AM, Eric Fiselier <<a \
href="mailto:eric@efcs.ca">eric@efcs.ca</a>> wrote:<br> ><br>
> What compiler are you using?<br>
><br>
> clang 3.7 (trunk).<br>
><br>
><br>
> >However, I can't help but think that they ought to be a way \
to<br> > systematically test this mode (without messing with lit.site.cfg) \
before<br> > shipping it off... to the buildbots...<br>
><br>
> see: <a href="http://libcxx.llvm.org/lit_usage.html" \
target="_blank">http://libcxx.llvm.org/lit_usage.html</a><br> ><br>
> Thanks. Looks like<br>
><br>
> $lit --param std=c++1y ...<br>
><br>
> works but<br>
><br>
> $lit --param std=c++14 ...<br>
><br>
> does not, with "error: invalid value 'c++14' in \
'-std=c++14'".<br> <br>
</span>IIRC you need to set --param cxx_under_test=/path/to/clang or these<br>
tests will run with your system compiler. If you're getting invalid<br>
value 'c++14', the clang you're using is not trunk (definitely \
pre-3.6).<br> </blockquote></div><br></div>
_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic