summaryrefslogtreecommitdiff
path: root/scripts/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install.sh')
-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