File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ script:
2222
2323before_install :
2424# make sure GCC is installed
25- - currentDir=`pwd`
2625 - sudo apt-get -q -y autoclean
2726 - sudo apt-get -q -y -f update
2827 - sudo apt-get -q -y -f install
@@ -36,6 +35,7 @@ before_install:
3635# Install MPICH
3736# based on https://github.com/travis-ci/apt-package-whitelist/issues/406
3837# with extensions to create mpicc via hard link in bin
38+ - currentDir=`pwd`
3939 - mpichVersion=3.2
4040 - wget --no-check-certificate -q http://www.mpich.org/static/downloads/$mpichVersion/mpich-$mpichVersion.tar.gz
4141 - tar -xzf mpich-$mpichVersion.tar.gz
@@ -46,7 +46,7 @@ before_install:
4646 - make install
4747 - chmod 777 "$currentDir/mpich-$mpichVersion/build/src/env/mpicc.sh"
4848 - sudo ln "$currentDir/mpich-$mpichVersion/build/src/env/mpicc.sh" /usr/bin/mpicc
49- - cp $currentDir/mpich-$mpichVersion/src/include/*.* /usr/local/include
49+ - sudo cp $currentDir/mpich-$mpichVersion/src/include/*.* /usr/local/include
5050 - cd "$currentDir"
5151
5252# prevent Maven from running
You can’t perform that action at this time.
0 commit comments