Persuade 14.04 on Docker to use GCC 6 for the Pi Python 2.7 builds

PiperOrigin-RevId: 267717178
This commit is contained in:
Pete Warden 2019-09-06 19:18:12 -07:00 committed by TensorFlower Gardener
parent c839f1485c
commit 0da8b1d1fa

View File

@ -22,4 +22,4 @@ apt-get install gcc-snapshot -y
apt-get update
apt-get install gcc-6 g++-6 -y
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 100 --slave /usr/bin/g++ g++ /usr/bin/g++-6
DEBIAN_FRONTEND=noninteractive update-alternatives --config gcc
update-alternatives --set gcc /usr/bin/gcc-6