[cfe-dev] Unable to build lld from llvm/clang source

Edward Diener via cfe-dev cfe-dev at lists.llvm.org
Tue Mar 28 14:35:12 PDT 2017


On 3/27/2017 9:57 PM, Mehdi Amini via cfe-dev wrote:
>
>> On Mar 27, 2017, at 3:27 PM, Edward Diener via cfe-dev <cfe-dev at lists.llvm.org> wrote:
>>
>> On 3/27/2017 12:44 AM, Ivan Garramona via cfe-dev wrote:
>>> It should build automatically. I use CMake and Ninja as well, and never
>>> had to specify any option to build lld.
>>>
>>> Are you cloning the lld repo in the right directory?
>>
>> That woke me up. I thought it was part of the llvm repo. I have it now. Thanks !
>>
>> < It should go in
>>> <path to llvm>/tools.
>
> See also: http://llvm.org/docs/GettingStarted.html#for-developers-to-work-with-a-git-monorepo to get everything in a single checkout.
>
> You can have lld built by adding it to -DLLVM_ENABLE_PROJECTS in this setup.

Thanks for the information. I have been able to build lld successfully.

>
>> Mehdi





More information about the cfe-dev mailing list