aboutsummaryrefslogtreecommitdiff
path: root/kokoro/scripts/linux/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'kokoro/scripts/linux/build.sh')
-rw-r--r--kokoro/scripts/linux/build.sh12
1 files changed, 9 insertions, 3 deletions
diff --git a/kokoro/scripts/linux/build.sh b/kokoro/scripts/linux/build.sh
index 86d0ec5..44218f3 100644
--- a/kokoro/scripts/linux/build.sh
+++ b/kokoro/scripts/linux/build.sh
@@ -43,10 +43,16 @@ then
BUILD_TYPE="RelWithDebInfo"
fi
-# removing the old cmake version
+# removing the old version
echo y | sudo apt-get purge --auto-remove cmake
-# install new cmake version
-echo y | sudo apt-get install cmake
+
+# Installing the 3.10.2 version
+wget http://www.cmake.org/files/v3.10/cmake-3.10.2.tar.gz
+tar -xvzf cmake-3.10.2.tar.gz
+cd cmake-3.10.2/
+./configure
+make
+sudo make install
echo $(date): $(cmake --version)