Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

Commit

Permalink
functional tests: install and use gcc-5
Browse files Browse the repository at this point in the history
gcc-4.8 crashes when building systemd v229.
  • Loading branch information
iaguis committed Mar 23, 2016
1 parent 5d64bec commit 558593e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,11 @@ if [ "${CI-}" == true ] ; then
sudo add-apt-repository --yes ppa:pitti/systemd-semaphore
sudo apt-get update -qq || true
sudo apt-get install -y libmount-dev libmount1

# building systemd v229 crashes with the gcc 4.8, update to gcc 5
export CC=gcc-5
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update -qq
sudo apt-get install gcc-5 gcc-5-base libgcc-5-dev -y -qq
fi
fi

0 comments on commit 558593e

Please sign in to comment.