Skip to content

Instantly share code, notes, and snippets.

@mcleary
Created May 20, 2016 12:30
Show Gist options
  • Save mcleary/696a3a38b81bd5a47bf4170340e13759 to your computer and use it in GitHub Desktop.
Save mcleary/696a3a38b81bd5a47bf4170340e13759 to your computer and use it in GitHub Desktop.
Script do download, compile and install clang
#!/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