Skip to content

Commit e293e5d

Browse files
committed
Hack Travis-CI to have MPICH bottle use gcc 6 libs
1 parent 5da4ea6 commit e293e5d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,8 @@ install:
119119
if ! [[ "$(brew ls --versions mpich)" ]]; then
120120
brew install --force-bottle mpich
121121
fi
122-
which gfortran || true
123-
which gfortran-6 || true
124-
which gcc || true
125-
which gcc-6 || true
122+
rm -rf /usr/local/opt/gcc || true
123+
ln -s /usr/local/opt/gcc@6 /usr/local/opt/gcc # hack to get dynamic linker to find gcc 6 stuff
126124
mpif90 --version || mpif90 -show
127125
mpicc --version || mpicc -show
128126
cmake --version

0 commit comments

Comments
 (0)