aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Abraham <thomas.abraham@arm.com>2019-12-16 19:25:40 +0530
committerThomas Abraham <thomas.abraham@arm.com>2019-12-16 19:27:41 +0530
commit514f9648af4c06335e8febdea093a2f5d542ae81 (patch)
treef2b16953d722a05406ccccafc1dbab3168091f30
parentdf3e2dc02bee1090fbbf5f6d0836c2678d647adb (diff)
sgi/install_sgi_prerequisites: install prerequisites for gcc6RD-INFRA-2019.12.17
As the FVPs new required gcc6 to be available on the host platform, add gcc6 to the list of prerequisites to be installed. Change-Id: I1ec3bf894ae7f805e8f2bdd2a5f92032ff3df027 Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
-rwxr-xr-xsgi/install_prerequisites.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/sgi/install_prerequisites.sh b/sgi/install_prerequisites.sh
index 05f2452..78c9d4b 100755
--- a/sgi/install_prerequisites.sh
+++ b/sgi/install_prerequisites.sh
@@ -56,6 +56,8 @@ APT_PACKAGES_COMMON=(
"flex"
"g++-multilib"
"gcc-multilib"
+ "gcc-6"
+ "g++-6"
"genext2fs"
"gperf"
"libc6:i386"
@@ -123,6 +125,7 @@ function prepare_resources()
sudo add-apt-repository universe >> $LOGFILE 2>&1
sudo add-apt-repository restricted >> $LOGFILE 2>&1
sudo add-apt-repository multiverse >> $LOGFILE 2>&1
+ sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y 2>&1
echo >> $LOGFILE 2>&1
echo -e "${BOLD}${GREEN}done${NORMAL}"