diff --git a/tensorflow/tools/ci_build/install/install_gcc6.sh b/tensorflow/tools/ci_build/install/install_gcc6.sh index be6418c4fa9..f2458b6b5cd 100755 --- a/tensorflow/tools/ci_build/install/install_gcc6.sh +++ b/tensorflow/tools/ci_build/install/install_gcc6.sh @@ -22,3 +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 +update-alternatives --config gcc