File tree Expand file tree Collapse file tree 3 files changed +13
-16
lines changed Expand file tree Collapse file tree 3 files changed +13
-16
lines changed Original file line number Diff line number Diff line change 9
9
- MPICH_VER="3.2"
10
10
- MPICH_URL_HEAD="https://www.mpich.org/static/downloads/${MPICH_VER}"
11
11
- MPICH_URL_TAIL="mpich-${MPICH_VER}.tar.gz"
12
- - MPICH_DIR="${HOME}/.local/usr/mpich"
13
12
- MPICH_GCC6_BOT_URL_HEAD="https://github.com/sourceryinstitute/OpenCoarrays/files/979804/"
14
13
- MPICH_GCC7_BOT_URL_HEAD="https://github.com/sourceryinstitute/OpenCoarrays/files/976779/"
15
14
- MPICH_BOT_URL_TAIL="mpich-3.2_3.yosemite.bottle.1.tar.gz"
@@ -114,18 +113,19 @@ before_install:
114
113
export PATH="${PATH}:${HOME}/Library/Python/2.7/bin"
115
114
else
116
115
[[ -d "${CACHE}/bin" ]] || mkdir -p "${CACHE}/bin"
117
- [[ -d "${MPICH_DIR}" ]] || mkdir -p "${MPICH_DIR}"
118
116
export PATH="${CACHE}/bin:${PATH}"
119
117
${FC} --version
120
118
${CC} --version
121
119
${CXX} --version
122
120
fi
123
121
124
122
install :
123
+ - pwd
125
124
- developer-scripts/travis/install.${TRAVIS_OS_NAME}.sh
126
125
127
126
script :
128
- - developer-scripts/travis/install.${BUILD_TYPE:-cmake}.sh
127
+ - pwd
128
+ - developer-scripts/travis/test-script.${BUILD_TYPE:-cmake}.sh
129
129
130
130
after_script :
131
131
- find . -name '*.gcno' -print
@@ -190,3 +190,7 @@ notifications:
190
190
on_success : change # options: [always|never|change]
191
191
on_failure : always
192
192
on_start : always
193
+ email :
194
+ on_success : change
195
+ on_failure : always
196
+ on_start : never
Original file line number Diff line number Diff line change @@ -21,25 +21,18 @@ trap '__caf_err_report "${FUNCNAME:-.}" ${LINENO}' ERR
21
21
22
22
echo " Performing Travis-CI installation phase on Linux..."
23
23
24
- if [[ ${BUILD_TYPE} != InstallScript ]]; then # Ubuntu on Travis-CI, NOT testing install.sh
24
+ if [[ " ${BUILD_TYPE:- } " != InstallScript ]]; then # Ubuntu on Travis-CI, NOT testing install.sh
25
25
if ! [[ -x " ${HOME} /.local/bin/mpif90" && -x " ${HOME} /.local/bin/mpicc" ]]; then
26
26
# mpich install not cached
27
27
# could use prerequisites/build instead...
28
28
wget " ${MPICH_URL_HEAD} /${MPICH_URL_TAIL} "
29
- mv " ${MPICH_URL_TAIL} " " ${MPICH_DIR} /.. "
29
+ tar -xzvf " ${MPICH_URL_TAIL} "
30
30
(
31
- cd " ${MPICH_DIR} /.."
32
- tar -xzvf " ${MPICH_URL_TAIL} "
33
- cd " ${MPICH_URL_TAIL% .tar.gz} "
34
- ./configure --prefix=" ${MPICH_DIR} "
31
+ cd " ${MPICH_URL_TAIL% .tar.gz} "
32
+ ./configure --prefix=" ${CACHE} "
35
33
make -j 4
36
34
make install
37
- )
38
- for f in " ${MPICH_DIR} /bin/" * ; do
39
- if [[ -x " ${f} " ]]; then
40
- ln -fs " ${f} " " ${HOME} /.local/bin/${f##*/ } "
41
- fi
42
- done
35
+ )
43
36
fi
44
37
mpif90 --version
45
38
mpicc --version
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ for pkg in ${OSX_PACKAGES}; do
30
30
brew ls --versions " ${pkg} " > /dev/null || brew install " ${pkg} " || brew link --overwrite " ${pkg} "
31
31
brew outdated " ${pkg} " || brew upgrade " ${pkg} "
32
32
done
33
- if [[ ${BUILD_TYPE} == InstallScript ]]; then # uninstall some stuff if present
33
+ if [[ " ${BUILD_TYPE:- } " == InstallScript ]]; then # uninstall some stuff if present
34
34
brew uninstall --force --ignore-dependencies cmake || true
35
35
brew uninstall --force --ignore-dependencies mpich || true
36
36
brew uninstall --force --ignore-dependencies openmpi || true
You can’t perform that action at this time.
0 commit comments