[PATCH] CMake: Add ability to disable building LLVM utils
cbieneman at apple.com
Thu Mar 27 10:34:37 PDT 2014
There is an LLVM_INSTALL_TOOLCHAIN_ONLY option which adds only the toolchain tools to the install list, but you still end up building the non-toolchain tools and utils. I could rework the patch to instead be LLVM_BUILD_TOOLCHIAN_ONLY if that is a preferable route.
On Mar 26, 2014, at 10:08 PM, Reid Kleckner <rnk at google.com> wrote:
> 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.
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits