From 2362271d4b5359b2ed24ca5cb47d2df159e61248 Mon Sep 17 00:00:00 2001 From: tinzhu Date: Fri, 10 Nov 2023 15:50:36 +0800 Subject: [PATCH] Upgrade CMake to the latest. --- scripts/install.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index af7b2174..752a03b4 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -2,8 +2,11 @@ # # Install necessary softwares for Ubuntu. -apt-get update -apt-get install -y \ +# Remove large folder to save space +rm -rf /opt/hostedtoolcache + +sudo apt-get update +sudo apt-get install -y \ gcc-multilib \ git \ g++ \ @@ -19,3 +22,5 @@ apt-get install -y \ python3 -m pip install --upgrade pip pip3 install gcovr==4.1 +# Upgrade cmake to the latest version. +pip install --upgrade cmake