<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;" class="">+cfe-dev; bcc:cfe-users (this is more of a development question than a user question, AFAICT)<div class=""><br class=""><div class=""><div><blockquote type="cite" class=""><div class="">On Apr 17, 2017, at 08:18, Michael Mitchell via cfe-users <<a href="mailto:cfe-users@lists.llvm.org" class="">cfe-users@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I'm new to LLVM and also new to Cmake. I've checked out multiple LLVM projects including clang (see below for list of projects checked out). I made the build directory. <div class=""><br class=""></div><div class="">My question has three possible answers - A,B, or C, but if the answer is neither of those 3 can you please describe in detail what the correct answer is. </div><div class=""><br class=""></div><div class="">My question is this, "Can I run cmake (A) with the path ONLY to the root of the LLVM project to build ALL of the projects I checked out,</div></div></div></blockquote><div><br class=""></div><div>This should work, since you checked everything out inside of the LLVM checkout.</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""> or (B) do I have to supply the path to the root of all the projects I checked out to cmake at once, or (C) do I run cmake multiple times in succession with a new path each time to the respective project I am building"</div><div class=""><br class=""></div><div class="">Thank you in advance</div><div class=""><br class=""></div><div class=""><br class=""><div class=""><br class=""></div><div class=""><div class="">#. Checkout LLVM:</div><div class=""><br class=""></div><div class=""> * ``cd where-you-want-llvm-to-live``</div><div class=""> * ``svn co <a href="http://llvm.org/svn/llvm-project/llvm/trunk" class="">http://llvm.org/svn/llvm-project/llvm/trunk</a> llvm``</div><div class=""><br class=""></div><div class="">#. Checkout Clang:</div><div class=""><br class=""></div><div class=""> * ``cd where-you-want-llvm-to-live``</div><div class=""> * ``cd llvm/tools``</div><div class=""> * ``svn co <a href="http://llvm.org/svn/llvm-project/cfe/trunk" class="">http://llvm.org/svn/llvm-project/cfe/trunk</a> clang``</div><div class=""><br class=""></div><div class="">#. Checkout LLD linker **[Optional]**:</div><div class=""><br class=""></div><div class=""> * ``cd where-you-want-llvm-to-live``</div><div class=""> * ``cd llvm/tools``</div><div class=""> * ``svn co <a href="http://llvm.org/svn/llvm-project/lld/trunk" class="">http://llvm.org/svn/llvm-project/lld/trunk</a> lld``</div><div class=""><br class=""></div><div class="">#. Checkout Polly Loop Optimizer **[Optional]**:</div><div class=""><br class=""></div><div class=""> * ``cd where-you-want-llvm-to-live``</div><div class=""> * ``cd llvm/tools``</div><div class=""> * ``svn co <a href="http://llvm.org/svn/llvm-project/polly/trunk" class="">http://llvm.org/svn/llvm-project/polly/trunk</a> polly``</div><div class=""><br class=""></div><div class="">#. Checkout Compiler-RT (required to build the sanitizers) **[Optional]**:</div><div class=""><br class=""></div><div class=""> * ``cd where-you-want-llvm-to-live``</div><div class=""> * ``cd llvm/projects``</div><div class=""> * ``svn co <a href="http://llvm.org/svn/llvm-project/compiler-rt/trunk" class="">http://llvm.org/svn/llvm-project/compiler-rt/trunk</a> compiler-rt``</div><div class=""><br class=""></div><div class="">#. Checkout Libomp (required for OpenMP support) **[Optional]**:</div><div class=""><br class=""></div><div class=""> * ``cd where-you-want-llvm-to-live``</div><div class=""> * ``cd llvm/projects``</div><div class=""> * ``svn co <a href="http://llvm.org/svn/llvm-project/openmp/trunk" class="">http://llvm.org/svn/llvm-project/openmp/trunk</a> openmp``</div><div class=""><br class=""></div><div class="">#. Checkout libcxx and libcxxabi **[Optional]**:</div><div class=""><br class=""></div><div class=""> * ``cd where-you-want-llvm-to-live``</div><div class=""> * ``cd llvm/projects``</div><div class=""> * ``svn co <a href="http://llvm.org/svn/llvm-project/libcxx/trunk" class="">http://llvm.org/svn/llvm-project/libcxx/trunk</a> libcxx``</div><div class=""> * ``svn co <a href="http://llvm.org/svn/llvm-project/libcxxabi/trunk" class="">http://llvm.org/svn/llvm-project/libcxxabi/trunk</a> libcxxabi``</div></div></div></div>
_______________________________________________<br class="">cfe-users mailing list<br class=""><a href="mailto:cfe-users@lists.llvm.org" class="">cfe-users@lists.llvm.org</a><br class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users<br class=""></div></blockquote></div><br class=""></div></div></body></html>