Created
February 17, 2015 13:47
-
-
Save DennisOSRM/fa00058de6b7fccc7a54 to your computer and use it in GitHub Desktop.
download and build latest llvm/clang from sources
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 | |
mkdir -p ~/Coding | |
cd ~/Coding | |
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 | |
mkdir build | |
cd build | |
cmake .. | |
make -j3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment