summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortinzhu <[email protected]>2023-11-10 15:50:36 +0800
committertinzhu <[email protected]>2023-11-10 15:50:36 +0800
commit2362271d4b5359b2ed24ca5cb47d2df159e61248 (patch)
treeb489b8fc614f4ca126f5e0e459af6b33eeee63a5
parent57c251cd391dc5057bfbba57108a03cc8f8ec0cf (diff)
Upgrade CMake to the latest.
-rwxr-xr-xscripts/install.sh9
1 files 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