Created
November 7, 2016 11:02
-
-
Save Marandil/03063da5bfe013bfa298368fc4455119 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -e | |
svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm | |
cd llvm/tools | |
svn co http://llvm.org/svn/llvm-project/cfe/trunk clang | |
cd ../.. | |
cd llvm/tools/clang/tools | |
svn co http://llvm.org/svn/llvm-project/clang-tools-extra/trunk extra | |
cd ../../../.. | |
cd llvm/projects | |
svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt | |
cd ../.. | |
cd llvm/projects | |
svn co http://llvm.org/svn/llvm-project/libcxx/trunk libcxx | |
cd ../.. | |
mkdir build | |
cd build | |
cmake -G "Unix Makefiles" ../llvm | |
make | |
make check-clang | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment