diff options
author | bloodstalker <thabogre@gmail.com> | 2016-12-13 16:08:06 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2016-12-13 16:08:06 +0000 |
commit | ef1e2d0ca628ac28f9d9de90b36aa0919b8e3786 (patch) | |
tree | c2ce58545b88ad44e5ae5b969ec86734a52186e6 /extra-tools | |
parent | trying to see what gcc version is on the host Ubuntu VM... (diff) | |
download | mutator-ef1e2d0ca628ac28f9d9de90b36aa0919b8e3786.tar.gz mutator-ef1e2d0ca628ac28f9d9de90b36aa0919b8e3786.zip |
installing gcc4.8...
Diffstat (limited to '')
-rwxr-xr-x | extra-tools/CITPreBuildDep.sh | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/extra-tools/CITPreBuildDep.sh b/extra-tools/CITPreBuildDep.sh index 5b4e190..623caa7 100755 --- a/extra-tools/CITPreBuildDep.sh +++ b/extra-tools/CITPreBuildDep.sh @@ -4,7 +4,20 @@ #installing libstdc++ 4.8 "gcc" -v - +"sudo" add-apt-repository ppa:ubuntu-toolchain-r/test +"sudo" apt-get update +"sudo" update-alternatives --remove-all gcc +"sudo" update-alternatives --remove-all g++ +"sudo" apt-get install gcc-4.8 +"sudo" apt-get install g++-4.8 +"sudo" update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 20 +"sudo" update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 20 +"sudo" update-alternatives --config gcc +"sudo" update-alternatives --config g++ +"sudo" apt-get update +"sudo" apt-get upgrade -y +"sudo" apt-get dist-upgrade +"gcc" -v #building cmkae 3.4.3 since the CI Travis virtual host is Ubuntu(???) "wget" http://www.cmake.org/files/v3.4/cmake-3.4.3.tar.gz |