File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ script:
22
22
23
23
before_install :
24
24
# make sure GCC is installed
25
- - currentDir=`pwd`
26
25
- sudo apt-get -q -y autoclean
27
26
- sudo apt-get -q -y -f update
28
27
- sudo apt-get -q -y -f install
@@ -36,6 +35,7 @@ before_install:
36
35
# Install MPICH
37
36
# based on https://github.com/travis-ci/apt-package-whitelist/issues/406
38
37
# with extensions to create mpicc via hard link in bin
38
+ - currentDir=`pwd`
39
39
- mpichVersion=3.2
40
40
- wget --no-check-certificate -q http://www.mpich.org/static/downloads/$mpichVersion/mpich-$mpichVersion.tar.gz
41
41
- tar -xzf mpich-$mpichVersion.tar.gz
@@ -46,7 +46,7 @@ before_install:
46
46
- make install
47
47
- chmod 777 "$currentDir/mpich-$mpichVersion/build/src/env/mpicc.sh"
48
48
- 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
50
50
- cd "$currentDir"
51
51
52
52
# prevent Maven from running
You can’t perform that action at this time.
0 commit comments