svn - 如何下载llvm,clang的特定版本

时间:2014-10-24 15:17:41

标签: clang llvm

当我svn co llvm-3.3,clang-3.3,编译器-rt,构建传递但是build并没有在build / Debug + Asserts中创建clang exe。当我只为了svn co build而没有通过但是他创造了clang exe。我是Ubuntu上的Linux用户。

make[4]: Leaving directory `/home/rtrk/llvm/test/branches_release/release_33-build/tools/clang/runtime/compiler-rt'
make[3]: *** [compiler-rt/.makeall] Error 2
make[3]: Leaving directory `/home/rtrk/llvm/test/branches_release/release_33-build/tools/clang/runtime'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/rtrk/llvm/test/branches_release/release_33-build/tools/clang'
make[1]: *** [clang/.makeall] Error 2
make[1]: Leaving directory `/home/rtrk/llvm/test/branches_release/release_33-build/tools'

1 个答案:

答案 0 :(得分:2)

export JN
export JN='-j 8'

rm -rf llvm34
svn co http://llvm.org/svn/llvm-project/llvm/branches/release_34/ llvm34
cd llvm34
cd tools
svn co http://llvm.org/svn/llvm-project/cfe/branches/release_34/ clang
cd ..
./configure --enable-optimized --disable-doxygen --prefix=/opt/llvm34
make $JN
make install