+cfe-dev; bcc:cfe-users (this is more of a development question than a user 
question, AFAICT)

> On Apr 17, 2017, at 08:18, Michael Mitchell via cfe-users 
> <cfe-users@lists.llvm.org> wrote:
> 
> 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. 
> 
> 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. 
> 
> 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,

This should work, since you checked everything out inside of the LLVM checkout.

> 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"
> 
> Thank you in advance
> 
> 
> 
> #. Checkout LLVM:
> 
>    * ``cd where-you-want-llvm-to-live``
>    * ``svn co http://llvm.org/svn/llvm-project/llvm/trunk 
> <http://llvm.org/svn/llvm-project/llvm/trunk> llvm``
> 
> #. Checkout Clang:
> 
>    * ``cd where-you-want-llvm-to-live``
>    * ``cd llvm/tools``
>    * ``svn co http://llvm.org/svn/llvm-project/cfe/trunk 
> <http://llvm.org/svn/llvm-project/cfe/trunk> clang``
> 
> #. Checkout LLD linker **[Optional]**:
> 
>    * ``cd where-you-want-llvm-to-live``
>    * ``cd llvm/tools``
>    * ``svn co http://llvm.org/svn/llvm-project/lld/trunk 
> <http://llvm.org/svn/llvm-project/lld/trunk> lld``
> 
> #. Checkout Polly Loop Optimizer **[Optional]**:
> 
>    * ``cd where-you-want-llvm-to-live``
>    * ``cd llvm/tools``
>    * ``svn co http://llvm.org/svn/llvm-project/polly/trunk 
> <http://llvm.org/svn/llvm-project/polly/trunk> polly``
> 
> #. Checkout Compiler-RT (required to build the sanitizers) **[Optional]**:
> 
>    * ``cd where-you-want-llvm-to-live``
>    * ``cd llvm/projects``
>    * ``svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk 
> <http://llvm.org/svn/llvm-project/compiler-rt/trunk> compiler-rt``
> 
> #. Checkout Libomp (required for OpenMP support) **[Optional]**:
> 
>    * ``cd where-you-want-llvm-to-live``
>    * ``cd llvm/projects``
>    * ``svn co http://llvm.org/svn/llvm-project/openmp/trunk 
> <http://llvm.org/svn/llvm-project/openmp/trunk> openmp``
> 
> #. Checkout libcxx and libcxxabi **[Optional]**:
> 
>    * ``cd where-you-want-llvm-to-live``
>    * ``cd llvm/projects``
>    * ``svn co http://llvm.org/svn/llvm-project/libcxx/trunk 
> <http://llvm.org/svn/llvm-project/libcxx/trunk> libcxx``
>    * ``svn co http://llvm.org/svn/llvm-project/libcxxabi/trunk 
> <http://llvm.org/svn/llvm-project/libcxxabi/trunk> libcxxabi``
> _______________________________________________
> cfe-users mailing list
> cfe-users@lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users

_______________________________________________
cfe-users mailing list
cfe-users@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users

Reply via email to