<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">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.<div><br></div><div>-Chris</div><div><br><div><div>On Mar 26, 2014, at 10:08 PM, Reid Kleckner <<a href="mailto:rnk@google.com">rnk@google.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><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>
</blockquote></div><br></div></body></html>