<div dir="ltr">Don't we already have functionality for this?  LLVM_BUILD_TOOLCHAIN_ONLY or something like that?  Can we extend that with various levels instead?</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Mar 26, 2014 at 8:07 PM, Chris Bieneman <span dir="ltr"><<a href="mailto:cbieneman@apple.com" target="_blank">cbieneman@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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).<br>
<br>
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.<br>

<br>
-Chris<br>
<br>
Files:<br>
  CMakelists.txt<br>
<br>
<br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>