1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/bash "cd" ~ "mkdir" llvm-clang4 "cd" llvm-clang4 "svn" co http://llvm.org/svn/llvm-project/llvm/trunk llvm "mkdir" build "cd" ./llvm/tools "svn" co http://llvm.org/svn/llvm-project/cfe/trunk clang "cd" ../.. "cd" build "cmake" -G "Unix Makefiles" ../llvm -DC_MAKE_TYPE=Release "make"