<div dir="ltr">How about "LLVM_EXTERNAL_*_BUILD=OFF"?<br></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 8, 2015 at 12:23 PM David A. Greene <<a href="mailto:greened@obbligato.org">greened@obbligato.org</a>> wrote:<br></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">dan@su-root.co.uk</a>> writes:<br>
<br>
> On 7 July 2015 at 15:05, David A. Greene <<a href="mailto:greened@obbligato.org" target="_blank">greened@obbligato.org</a>> wrote:<br>
>> I'm learning the cmake build.<br>
>><br>
>> Is there a way to disable the build of a subdirectory in llvm/projects?<br>
>> I'm getting a build error on one project and don't want it to hold up<br>
>> the build of everything else.<br>
><br>
> In your LLVM build directory run<br>
><br>
> $ cmake -DLLVM_BUILD_EXAMPLES=OFF /path/to/llvm/source<br>
><br>
> (note if you are using the makefile build you can run ``make<br>
> edit_cache`` to do the above).<br>
><br>
> If you are still having problems you could also set<br>
> LLVM_INCLUDE_EXAMPLES to OFF.<br>
><br>
> If you use ccmake or cmake gui these options are easily visibile,<br>
> you'll see a whole bunch of other useful options.<br>
<br>
I'm wondering about things like clang, lldb, etc. that are checked out<br>
in llvm's projects directory.  Is there a way to skip building one of<br>
them?  The lldb build is failing due to an ancient libc I can't replace.<br>
<br>
Yeah, I can just delete the directory but for various reasons it's more<br>
attractive not to have to do that.  It would be nice to just tell CMake<br>
not to build that directory via a CMake variable or at build config<br>
time.<br>
<br>
                            -David<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" rel="noreferrer" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" rel="noreferrer" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div>