[PATCH] CMake: Add ability to disable building LLVM utils

Reid Kleckner rnk at google.com
Wed Mar 26 22:08:25 PDT 2014

Don't we already have functionality for this?  LLVM_BUILD_TOOLCHAIN_ONLY or
something like that?  Can we extend that with various levels instead?

On Wed, Mar 26, 2014 at 8:07 PM, Chris Bieneman <cbieneman at apple.com> wrote:

> For shipping products that include llvm libraries and tools we want the
> ability to not build some of the LLVM utilities (FileCheck, FileUpdate,
> count, not, llvm-lit, and yaml-bench).
> This patch accomplishes this by adding a new CMake option
> LLVM_INCLUDE_UTILS which excludes those subdirectories. This patch also
> adds an error if you set LLVM_INCLUDE_UTILS to OFF while setting
> LLVM_INCLUDE_TESTS to ON, because including tests necessitates including
> the utils.
> -Chris
> Files:
>   CMakelists.txt
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140326/e0dc509a/attachment.html>

More information about the llvm-commits mailing list