Skip to content

Commit 132d233

Browse files
author
Thomas Weise
committed
next attempt for travis.ci build: create hard link to mpicc
1 parent bda58f8 commit 132d233

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,16 @@ before_install:
3535
- cat /etc/hosts # optionally check the content *after*
3636
# Install MPICH
3737
# based on https://github.com/travis-ci/apt-package-whitelist/issues/406
38+
# with extensions to create mpicc via hard link in bin
3839
- wget --no-check-certificate -q http://www.mpich.org/static/downloads/3.2/mpich-3.2.tar.gz
3940
- tar -xzf mpich-3.2.tar.gz
4041
- cd mpich-3.2
4142
- mkdir build && cd build
4243
- ../configure CC=$CC CXX=$CXX --prefix=${HOME}/mpich --disable-fortran --disable-romio
4344
- make -j2
4445
- make install
46+
- chmod 777 "$currentDir/mpich-3.2/build/src/env/mpicc.sh"
47+
- sudo ln "$currentDir/mpich-3.2/build/src/env/mpicc.sh" /usr/bin/mpicc
4548
- cd "$currentDir"
4649

4750
# prevent Maven from running

0 commit comments

Comments
 (0)