Lines Matching full:llvm
1 This document describes how to build a debug version of LLVM for use with
8 1. Check out LLVM and Clang from their repositories. To determine
9 the revision to use, consult scripts/build-llvm.pl (this is done
11 name "llvm" for your checkout, for reasons described in part 3
14 $ export CLANG_REVISION=`cat scripts/build-llvm.pl | grep ^our.*llvm_revision | cut -d \' -f 2,2`
15 $ svn co -r $CLANG_REVISION http://llvm.org/svn/llvm-project/llvm/trunk llvm.checkout
16 $ svn co -r $CLANG_REVISION http://llvm.org/svn/llvm-project/cfe/trunk llvm.checkout/tools/clang
18 2. Configure LLVM/Clang with the proper options and compilers. I use:
20 $ cd llvm.checkout
25 3. Create a link to the built LLVM. !!! WARNING: Do not rename the
26 directory! The LLVM builder script that runs as part of the Xcode
27 build keys off the fact that llvm/ is a symlink to recognize that
30 $ ln -sf llvm.checkout llvm