[llvm-dev] Building the CRT

Evandro Menezes via llvm-dev
Mon, 20 Mar 2017 21:56:23 -0000

On 03/20/2017 04:37 PM, Mehdi Amini wrote:
>
>> On Mar 20, 2017, at 12:47 PM, Evandro Menezes via llvm-dev
>> <llvm-dev at lists.llvm.org <mailto:llvm-dev at
lists.llvm.org>> wrote:
>>
>> Folks,
>>
>> I'm at a loss trying to add Compiler-RT to an LLVM build, even
after
>> checking out the instructions at http://compiler-rt.llvm.org, so
I'd
>> appreciate your help.
>>
>> I've tried adding the CMake options LLVM_ENABLE_PROJECTS
>
> For this option, you need to follow:
>
http://llvm.org/docs/GettingStarted.html#for-developers-to-work-with-a-git-monorepo
>
> You can’t add this to an existing build directory, you need to wipe it
> and re-run cmake (at least for me that’s the only way I found).

Yes, I have a monorepo, that's why I have projects that I don't care
about cloned (e.g., draggonegg).  But, as I said, this configuration has
worked fine, until I decided to do some work in CRT.

And, yes, I tried starting a build from a clean directory. Yet...