[PATCH] [libc++] Allow libc++ to be built on systems without POSIX threads

Dmitri Gribenko gribozavr at gmail.com
Tue Sep 2 14:49:30 PDT 2014


On Tue, Sep 2, 2014 at 10:38 PM, Jonathan Roelofs
<jonathan at codesourcery.com> wrote:
>
>
> On 8/29/14, 12:10 PM, Dmitri Gribenko wrote:
>>
>> On Fri, Aug 29, 2014 at 7:09 PM, Dmitri Gribenko <gribozavr at gmail.com>
>> wrote:
>>>
>>> On Fri, Aug 29, 2014 at 6:23 PM, Jonathan Roelofs
>>> <jonathan at codesourcery.com> wrote:
>>>>
>>>>
>>>>
>>>> On 8/29/14, 10:59 AM, Dan Albert wrote:
>>>>>
>>>>>
>>>>> I'm a little bit worried about the no-threads build bit-rotting (if any
>>>>> of
>>>>> us
>>>>> forget to wrap something in #ifndef _LIBCPP_HAS_NO_THREADS).
>>>>
>>>>
>>>> I'm a bit worried about that too, but I am willing to maintain it.
>>>>
>>>>
>>>>> Should we have a buildbot set up to build this configuration?
>>>>
>>>>
>>>> I would appreciate having one, but I can't host it at the moment.
>>>
>>>
>>> Feel free to assign this on the same builder as the existing libcxx
>>> buildbot.
>>
>>
>> This one
>> http://lab.llvm.org:8011/builders/libcxx-libcxxabi-x86_64-linux-debian
>
> Is the attached patch what you had in mind?

LGTM.  Please commit and ask Galina to restart the buildmaster.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the cfe-commits mailing list