File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,17 @@ before_install:
36
36
# Install MPICH
37
37
# based on https://github.com/travis-ci/apt-package-whitelist/issues/406
38
38
# with extensions to create mpicc via hard link in bin
39
- - wget --no-check-certificate -q http://www.mpich.org/static/downloads/3.2/mpich-3.2.tar.gz
40
- - tar -xzf mpich-3.2.tar.gz
41
- - cd mpich-3.2
39
+ - mpichVersion=3.2
40
+ - wget --no-check-certificate -q http://www.mpich.org/static/downloads/$mpichVersion/mpich-$mpichVersion.tar.gz
41
+ - tar -xzf mpich-$mpichVersion.tar.gz
42
+ - cd mpich-$mpichVersion
42
43
- mkdir build && cd build
43
44
- ../configure CC=$CC CXX=$CXX --prefix=${HOME}/mpich --disable-fortran --disable-romio
44
45
- make -j2
45
46
- 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
47
+ - chmod 777 "$currentDir/mpich-$mpichVersion/build/src/env/mpicc.sh"
48
+ - sudo ln "$currentDir/mpich-$mpichVersion/build/src/env/mpicc.sh" /usr/bin/mpicc
49
+ - cp $currentDir/mpich-$mpichVersion/src/include/*.* /usr/local/include
48
50
- cd "$currentDir"
49
51
50
52
# prevent Maven from running
You can’t perform that action at this time.
0 commit comments