Created
May 20, 2016 12:30
-
-
Save mcleary/696a3a38b81bd5a47bf4170340e13759 to your computer and use it in GitHub Desktop.
Script do download, compile and install clang
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
#!/bin/sh | |
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 ../projects | |
svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt | |
cd ../.. | |
mkdir llvm-build | |
cd llvm-build | |
cmake ../llvm-build | |
make -j4 | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment