Last active
August 29, 2015 14:15
-
-
Save riyadparvez/e6b91f1f9de190ae1469 to your computer and use it in GitHub Desktop.
Download and build latest llvm, clang and compiler tools.
This file contains hidden or 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/bash | |
svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm-latest | |
cd llvm-latest/tools | |
svn co http://llvm.org/svn/llvm-project/cfe/trunk clang | |
cd clang/tools | |
svn co http://llvm.org/svn/llvm-project/clang-tools-extra/trunk extra | |
cd ../../../.. #go back to top directory | |
cd llvm-latest/projects | |
svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt | |
cd ../.. #go back to top directory | |
cd llvm-latest | |
mkdir build | |
cd build | |
../configure --enable-optimized --disable-bindings | |
make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment