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

Mehdi Amini via cfe-dev cfe-dev at lists.llvm.org
Mon Mar 27 18:57:01 PDT 2017


> 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.

— 
Mehdi




More information about the cfe-dev mailing list