<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 16, 2013 at 3:48 PM, Hans Wennborg <span dir="ltr"><<a href="mailto:hans@chromium.org" target="_blank" class="cremed">hans@chromium.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":4f9" style="overflow:hidden">  Change option name to LLVM_INSTALL_DEV_FILES. Also move cmake files and llvm-lit under this flag.<br>

<br>
  (Not changing the code review title to hopefully keep this in the same email thread.)<br></div></blockquote></div><br>Er, no?</div><div class="gmail_extra"><br></div><div class="gmail_extra">So, first note that this changes users of 'make install' in addition to users of cpack.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">There are two layers of this:</div><div class="gmail_extra"><br></div><div class="gmail_extra">1) install development tools / resources useful for developing other *LLVM* projects (tblgen, etc)</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">2) install *anything* but executable binaries.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I think these should be different. I think #1 should be default-off and turned on for users of the stand-alone Clang cmake build. It should be called something about "development".</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">I think #2 should be default-on, because many many users of LLVM specifically want the core libraries. I think the best way is to negate the flag: make it INSTALL_TOOLCHAIN_BINARIES_ONLY or something, and when enabled, you only get the binaries used as part of a toolchain (llvm-{ar,nm,dwarfdump,...}, clang, clang-format, etc., but not opt or llc.</div>
</div>