[LLVMdev] clang build fails if done in the separate object directory

Yuri yuri at rawbw.com
Thu Jun 10 09:32:36 PDT 2010


On 06/10/2010 07:43, Diego Iastrubni wrote:
> can you tell what commands exactly did you use?
>
> What I usually do is:
>
> svn co llvm...
> mkdir llvm/tools/clang
> svn co llvm/tools/clang
>
> mkdir cmake-build
> cd cmake-build
> cmake ../
> make
>

I did something like this:
svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
svn co http://llvm.org/svn/llvm-project/llvm/trunk clang
ln -s clang llvm/tools/clang
mkdir llvm-objects
cd llvm-objects
../llvm/configure --prefix=/my/llvm/prefix <other options>
gmake
gmake install
cd ..


Yuri




More information about the llvm-dev mailing list