diff options
Diffstat (limited to 'extra-tools')
-rwxr-xr-x | extra-tools/CITPreBuildDep.sh | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/extra-tools/CITPreBuildDep.sh b/extra-tools/CITPreBuildDep.sh index 3ff71f7..90666f0 100755 --- a/extra-tools/CITPreBuildDep.sh +++ b/extra-tools/CITPreBuildDep.sh @@ -25,18 +25,20 @@ "cd" cmake-3.4.3/ "./configure" "make" -"sudo" make install +"sudo" make install -j8 "sudo" update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake 1 --force +"cd" ~/bloodstalker/llvm + #building llvm and clang 4.0.0 -#"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_BUILD_TYPE=Release -#"make" +"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" -DC_BUILD_TYPE=Release ../llvm +"make" -j8 |