[PATCH] Add cmake flags to disable LLD and LLDB from build.

Bob Campbell bobcampbell_llvm at icloud.com
Fri Jan 9 16:16:27 PST 2015


I was looking for this functionality, and thought I found it in:

cmake/modules/AddLLVM.cmake: macro add_llvm_external_project

where it tests LLVM_EXTERNAL_${nameUPPER}_BUILD

So I thought if if I forced LLVM_EXTERNAL_LLDB_BUILD to OFF, then it would not build LLDB.

I did not test it yet as I found the solution to the problem that made me want to turn off building LLDB.

> On Jan 9, 2015, at 4:00 PM, Eric Christopher <echristo at gmail.com> wrote:
> 
> Adding Chandler since CMake is more his area... that said, if you want to do this it'd be nice to add one for autoconf as well.
> 
> Continuing though, we don't have this for clang...?
> 
> 
> REPOSITORY
>  rL LLVM
> 
> http://reviews.llvm.org/D6909
> 
> EMAIL PREFERENCES
>  http://reviews.llvm.org/settings/panel/emailpreferences/
> 
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list