<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 8, 2015, at 6:38 AM, NAKAMURA Takumi <<a href="mailto:geek4civic@gmail.com" class="">geek4civic@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">How about "LLVM_EXTERNAL_*_BUILD=OFF”?<br class=""></div></div></blockquote><div><br class=""></div><div>This option actually doesn’t work well. In order to have the setting stick you need to run CMake twice. That was one of the bugs addressed in the patches you reverted last night.</div><br class=""><blockquote type="cite" class=""><div class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Wed, Jul 8, 2015 at 12:23 PM David A. Greene <<a href="mailto:greened@obbligato.org" class="">greened@obbligato.org</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dan Liew <<a href="mailto:dan@su-root.co.uk" target="_blank" class="">dan@su-root.co.uk</a>> writes:<br class="">
<br class="">
> On 7 July 2015 at 15:05, David A. Greene <<a href="mailto:greened@obbligato.org" target="_blank" class="">greened@obbligato.org</a>> wrote:<br class="">
>> I'm learning the cmake build.<br class="">
>><br class="">
>> Is there a way to disable the build of a subdirectory in llvm/projects?<br class="">
>> I'm getting a build error on one project and don't want it to hold up<br class="">
>> the build of everything else.<br class="">
><br class="">
> In your LLVM build directory run<br class="">
><br class="">
> $ cmake -DLLVM_BUILD_EXAMPLES=OFF /path/to/llvm/source<br class="">
><br class="">
> (note if you are using the makefile build you can run ``make<br class="">
> edit_cache`` to do the above).<br class="">
><br class="">
> If you are still having problems you could also set<br class="">
> LLVM_INCLUDE_EXAMPLES to OFF.<br class="">
><br class="">
> If you use ccmake or cmake gui these options are easily visibile,<br class="">
> you'll see a whole bunch of other useful options.<br class="">
<br class="">
I'm wondering about things like clang, lldb, etc. that are checked out<br class="">
in llvm's projects directory.  Is there a way to skip building one of<br class="">
them?  The lldb build is failing due to an ancient libc I can't replace.<br class=""></blockquote></div></div></blockquote><div><br class=""></div><div>Do you mean “projects” or “tools”. clang, lldb, and lld should be in the tools directory not the projects directory. Those two directories have different build orders and are not inter-changable.</div><div><br class=""></div><div>-Chris</div><br class=""><blockquote type="cite" class=""><div class=""><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br class="">
Yeah, I can just delete the directory but for various reasons it's more<br class="">
attractive not to have to do that.  It would be nice to just tell CMake<br class="">
not to build that directory via a CMake variable or at build config<br class="">
time.<br class="">
<br class="">
                            -David<br class="">
_______________________________________________<br class="">
LLVM Developers mailing list<br class="">
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank" class="">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu/" rel="noreferrer" target="_blank" class="">http://llvm.cs.uiuc.edu</a><br class="">
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" rel="noreferrer" target="_blank" class="">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br class="">
</blockquote></div>
_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:LLVMdev@cs.uiuc.edu" class="">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" class="">http://llvm.cs.uiuc.edu</a><br class=""><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" class="">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br class=""></div></blockquote></div><br class=""></body></html>