Skip to content

Instantly share code, notes, and snippets.

@tanitta
Created March 21, 2016 00:06
Show Gist options
  • Select an option

  • Save tanitta/544f35143172e7d5c17b to your computer and use it in GitHub Desktop.

Select an option

Save tanitta/544f35143172e7d5c17b to your computer and use it in GitHub Desktop.
#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