aboutsummaryrefslogtreecommitdiff
path: root/kokoro/scripts/linux/build_dawn.sh
diff options
context:
space:
mode:
Diffstat (limited to 'kokoro/scripts/linux/build_dawn.sh')
-rw-r--r--kokoro/scripts/linux/build_dawn.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/kokoro/scripts/linux/build_dawn.sh b/kokoro/scripts/linux/build_dawn.sh
index f4b499b..aa8635d 100644
--- a/kokoro/scripts/linux/build_dawn.sh
+++ b/kokoro/scripts/linux/build_dawn.sh
@@ -39,6 +39,18 @@ then
BUILD_TYPE="RelWithDebInfo"
fi
+# removing the old version
+echo y | sudo apt-get purge --auto-remove 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)
+
# Get ninja
wget -q https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip
unzip -q ninja-linux.zip