<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:12.8000001907349px">Why are there two ways to compile LLVM?<br></span><span style="font-size:12.8000001907349px"> make and cmake!<br></span><span style="font-size:12.8000001907349px">What's the difference of those two ways?</span></blockquote><div><br></div><div>make and cmake are used together not separately.</div><div>cmake is a high level generator that creates a makefile for make</div><div><br></div><div>You may however be confusing make with autotools.</div><div>autotools like cmake generates a makefile for make to use.</div><div><br></div><div>autotools is an older tool typically used by gcc so it was natural for llvm/clang to adopt this</div><div>llvm as a project is moving towards only having cmake as the high level generator.</div><div><br></div><div>Please someone correct me if I am wrong but the autotools build will be deprecated soon</div><div>so I suggest you use cmake when building</div><div><br></div><div>Kind Regards</div><div>Martell</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 28, 2015 at 9:18 PM, mudongliang via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Why are there two ways to compile LLVM?<br>
make and cmake!<br>
What's the difference of those two ways?<br>
<br>
- mudongliang<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div><br></div>