Created
March 21, 2016 00:06
-
-
Save tanitta/544f35143172e7d5c17b to your computer and use it in GitHub Desktop.
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
| #Clone llvm | |
| git clone http://llvm.org/git/llvm.git | |
| #Clone clang | |
| cd llvm/tools/ | |
| git clone http://llvm.org/git/clang.git | |
| #Clone clang-Tools-Extra | |
| cd clang/tools | |
| git clone http://llvm.org/git/clang-tools-extra.git extra | |
| #Clone compiler-rt | |
| cd ../../../projects/ | |
| git clone http://llvm.org/git/compiler-rt.git | |
| #ビルド生成物を置きたいディレクトリに移動後 | |
| #Config | |
| ../llvm/configure | |
| #Build | |
| make ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1 -j6 | |
| #install | |
| sudo make ENABLE_OPTIMIZED=1 DISABLE_ASSERTIONS=1 install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment