aboutsummaryrefslogtreecommitdiffstats
path: root/extra-tools
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-12-14 14:13:58 +0000
committerbloodstalker <thabogre@gmail.com>2016-12-14 14:13:58 +0000
commit3b45dc0ae7634c2c54500dff657413a62a08e339 (patch)
treeea6601cfb69aca3210d1053dbc368e53e77598e9 /extra-tools
parentupdated (diff)
downloadmutator-3b45dc0ae7634c2c54500dff657413a62a08e339.tar.gz
mutator-3b45dc0ae7634c2c54500dff657413a62a08e339.zip
updated to build clang in release mode and run make with multiple jobs
Diffstat (limited to 'extra-tools')
-rwxr-xr-xextra-tools/CITPreBuildDep.sh26
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