[cfe-commits] [PATCH] multiarch directory support for debian based linux/ppc

Nico Weber thakis at chromium.org
Mon Feb 27 22:20:28 PST 2012


I think Chandler landed this already in r151482 (which I only saw
after replying to your mail) :-)

Nico

On Mon, Feb 27, 2012 at 10:16 PM, Jeremy Huddleston <jeremyhu at apple.com> wrote:
> Done.  Thanks.
>
>
>
>
> On Feb 27, 2012, at 10:24 AM, Nico Weber <thakis at chromium.org> wrote:
>
>> Can you attach the patch instead, please?
>>
>> Thanks,
>> Nico
>>
>> On Sat, Feb 25, 2012 at 10:36 PM, Jeremy Huddleston <jeremyhu at apple.com> wrote:
>>> On Feb 25, 2012, at 10:17 PM, Jeremy Huddleston <jeremyhu at apple.com> wrote:
>>>
>>>> Could someone please commit this?
>>>
>>> Actually please use this one instead.  Michel's version was missing ppc64 support.
>>>
>>>> Patch is from Debian (Michel Dänzer <daenzer at debian.org>).
>>>
>>> Index: lib/Driver/ToolChains.cpp
>>> ===================================================================
>>> --- lib/Driver/ToolChains.cpp   (revision 151476)
>>> +++ lib/Driver/ToolChains.cpp   (working copy)
>>> @@ -1962,6 +1962,14 @@
>>>     if (llvm::sys::fs::exists(SysRoot + "/lib/mipsel-linux-gnu"))
>>>       return "mipsel-linux-gnu";
>>>     return TargetTriple.str();
>>> +  case llvm::Triple::ppc:
>>> +    if (llvm::sys::fs::exists(SysRoot + "/lib/powerpc-linux-gnu"))
>>> +      return "powerpc-linux-gnu";
>>> +    return TargetTriple.str();
>>> +  case llvm::Triple::ppc64:
>>> +    if (llvm::sys::fs::exists(SysRoot + "/lib/powerpc64-linux-gnu"))
>>> +      return "powerpc64-linux-gnu";
>>> +    return TargetTriple.str();
>>>   }
>>>  }
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> cfe-commits mailing list
>>> cfe-commits at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>
>
>




More information about the cfe-commits mailing list