[llvm-dev] Building the CRT

Mehdi Amini via llvm-dev llvm-dev at lists.llvm.org
Mon Mar 20 14:37:01 PDT 2017


> On Mar 20, 2017, at 12:47 PM, Evandro Menezes via llvm-dev <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 <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).

— 
Mehdi



> , LLVM_BUILD_EXTERNAL_COMPILER_RT, LLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR, CLANG_DEFAULT_RTLIB.  All to no avail.
> 
> FWIW, I'm building for the targets AArch64, ARM and X86.
> 
> Feeling like a newbie makes me want to cry... :-}
> 
> Thank you,
> 
> 
> -- 
> Evandro Menezes
> 
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170320/490b2e5d/attachment.html>


More information about the llvm-dev mailing list