aboutsummaryrefslogtreecommitdiffstats
path: root/extra-tools/CITPreBuildDep.sh
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-12-14 20:39:19 +0000
committerbloodstalker <thabogre@gmail.com>2016-12-14 20:39:19 +0000
commit55c08120995c3e956b03f97de312f96f0d0a3ad8 (patch)
tree5b99a4bb9ffd6a05d3c667640a96a5908b6641a6 /extra-tools/CITPreBuildDep.sh
parentupdated to build clang in release mode and run make with multiple jobs (diff)
downloadmutator-55c08120995c3e956b03f97de312f96f0d0a3ad8.tar.gz
mutator-55c08120995c3e956b03f97de312f96f0d0a3ad8.zip
fixed the build script.
Diffstat (limited to 'extra-tools/CITPreBuildDep.sh')
-rwxr-xr-xextra-tools/CITPreBuildDep.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/extra-tools/CITPreBuildDep.sh b/extra-tools/CITPreBuildDep.sh
index 90666f0..1479517 100755
--- a/extra-tools/CITPreBuildDep.sh
+++ b/extra-tools/CITPreBuildDep.sh
@@ -27,11 +27,9 @@
"make"
"sudo" make install -j8
"sudo" update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake 1 --force
-
-"cd" ~/bloodstalker/llvm
+"cd" ..
#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
@@ -40,5 +38,7 @@
"svn" co http://llvm.org/svn/llvm-project/cfe/trunk clang
"cd" ../..
"cd" build
-"cmake" -G "Unix Makefiles" -DC_BUILD_TYPE=Release ../llvm
+"cmake" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../llvm
"make" -j8
+"sudo" make install
+"cd" ../.. \ No newline at end of file