[PATCH] Zorg, lld build factory: Remove -stdlib=libc++ as this breaks the GNU build

Mikael Lyngvig mikael at lyngvig.org
Thu Dec 19 00:12:56 PST 2013


Hi Rui,

A modified version of the patch has already been committed by David Blakie
so don't worry about this anymore.  Its posted with this subject line:

    [zorg] r197519 - Use CMake support for -Werror and -std=c++11 in the
LLD builder


-- Mikael


2013/12/19 Rui Ueyama <ruiu at google.com>

> Mikael,
>
> Sorry for the delay. One reason of the delay was that I was
> double-checking the extent of this patch. I believe it won't break anything
> but I'm not too familiar with these options. Probably we need a review who
> wrote this line...
>
>
> On Wed, Dec 18, 2013 at 5:32 AM, Mikael Lyngvig <mikael at lyngvig.org>wrote:
>
>> Thank you!  I'll go and dig out some patience somewhere :-)  It is just
>> annoying to see a buildbot fail hundreds of times.
>>
>>
>> -- Mikael
>>
>>
>> 2013/12/17 David Blaikie <dblaikie at gmail.com>
>>
>>>
>>>
>>>
>>> On Tue, Dec 17, 2013 at 9:21 AM, Mikael Lyngvig <mikael at lyngvig.org>wrote:
>>>
>>>> Please?  Is there anybody out there?  I've tried to get this 15
>>>> character patch commited for for a week now.  My builder has now failed
>>>> some 225 builds because nobody has bothered to commit the patch.
>>>>
>>>
>>> Patch review is slow at the best of times - a week is not an extreme
>>> amount of time to wait (indeed we usually recommend new contributors ping a
>>> patch at about a weekly rate, no higher). Though the buildbot config has
>>> even fewer reviewers and Galina is probably the best person to review this
>>> as she contributed the original patch - and I can't say for sure why all
>>> those flags were used for this setup.
>>>
>>> All that being said, I committed something that should suffice in
>>> r197519, but I don't know if it'll break other things given the curious set
>>> of flags (strict ansi and libc++) that were specified previously.
>>>
>>>
>>>>
>>>> Rui has said "LGTM" about it.  Chandler has suggested a change to the
>>>> initial patch which has been implemented in this patch.
>>>>
>>>> Now I know what I want for Christmas this year!  A 15-character patch
>>>> of Zorg...
>>>>
>>>>
>>>> -- Mikael
>>>>
>>>>
>>>> ---------- Forwarded message ----------
>>>> From: Mikael Lyngvig <mikael at lyngvig.org>
>>>> Date: 2013/12/12
>>>> Subject: [PATCH] Zorg, lld build factory: Remove -stdlib=libc++ as this
>>>> breaks the GNU build
>>>> To: LLVM-commits <llvm-commits at cs.uiuc.edu>
>>>>
>>>>
>>>> Anyone?  My builder keeps failing until this patch is committed.
>>>>
>>>> Index: zorg/buildbot/builders/LLDBuilder.py
>>>> ===================================================================
>>>> --- zorg/buildbot/builders/LLDBuilder.py (revision 196862)
>>>> +++ zorg/buildbot/builders/LLDBuilder.py (working copy)
>>>> @@ -57,10 +57,11 @@
>>>>                                 haltOnFailure=False,
>>>>                                 description=["create build dir"],
>>>>                                 workdir="."))
>>>> +
>>>>      cmakeCommand = [
>>>>          "cmake",
>>>>          "-DCMAKE_BUILD_TYPE=Release",
>>>> -        "-DCMAKE_CXX_FLAGS=\"-Wall -Werror -std=c++11 -stdlib=libc++
>>>> -U__STRICT_ANSI__\"",
>>>> +        "-DCMAKE_CXX_FLAGS=\"-Wall -Werror -std=c++11
>>>> -U__STRICT_ANSI__\"",
>>>>          "../%s" % llvm_srcdir]
>>>>      # Note: ShellCommand does not pass the params with special symbols
>>>> right.
>>>>      # The " ".join is a workaround for this bug.
>>>>
>>>>
>>>>
>>>> -- Mikael
>>>>
>>>>
>>>> _______________________________________________
>>>> llvm-commits mailing list
>>>> llvm-commits at cs.uiuc.edu
>>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> 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/20131219/2dc64c1a/attachment.html>


More information about the llvm-commits mailing list