Skip to content

Commit 0d1f526

Browse files
committed
Try gcc-10
1 parent 51c6ef5 commit 0d1f526

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

travis-ci/docker_build_wrap.sh

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,20 @@ if [ "${MB_ML_VER}" == "_2_24" ]; then
1010
# symbol version issues
1111
apt-get update -y
1212
apt-get install -y --no-install-recommends dirmngr
13-
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1E9377A2BA9EF27F
14-
echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial main" >> /etc/apt/sources.list
15-
apt-get update -y
16-
apt-get install -y --no-install-recommends gcc-9 gfortran-9
17-
export CC=gcc-9
18-
export FC=gfortran-9
19-
# Install an up-to-date binutils
13+
#apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1E9377A2BA9EF27F
14+
#echo "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial main" >> /etc/apt/sources.list
15+
#apt-get update -y
16+
#apt-get install -y --no-install-recommends gcc-9 gfortran-9
17+
#export CC=gcc-9
18+
#export FC=gfortran-9
19+
# Install an up-to-date binutils & gcc
2020
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com E2B0200952C56F5E
2121
echo "deb http://ppa.launchpad.net/mayeut-github/test3/ubuntu xenial main" >> /etc/apt/sources.list
22+
echo "deb http://ppa.launchpad.net/mayeut-github/test4/ubuntu xenial main" >> /etc/apt/sources.list
2223
apt-get update -y
23-
apt-get install -y --no-install-recommends binutils
24+
apt-get install -y --no-install-recommends binutils gcc-10 gfortran-10
25+
export CC=gcc-10
26+
export FC=gfortran-10
2427
#apt-get install -y --no-install-recommends bison flex gettext texinfo dejagnu quilt chrpath dwz debugedit python3 file xz-utils lsb-release zlib1g-dev procps
2528
#curl -fsSL https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz | tar -x --xz
2629
#pushd binutils-2.36.1

0 commit comments

Comments
 (0)