svn - How do I download a specific release of llvm

2019-05-24 01:49发布

问题:

When I svn co llvm-3.3,clang-3.3,compiler -rt, build passes but build didn't create clang exe in build/Debug+Asserts. When I put only clang for svn co build didn't pass but he creates clang exe. I'm Linux user on Ubuntu.

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:

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


标签: clang llvm