Skip to content

Commit 9765332

Browse files
committed
Use latest stable MPICH & update Homebrew bottles
1 parent 94be052 commit 9765332

File tree

3 files changed

+20
-14
lines changed

3 files changed

+20
-14
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ os: osx
66
env:
77
global:
88
- CACHE="${HOME}/.local"
9-
- MPICH_VER="3.2"
9+
- MPICH_VER="3.2.1"
1010
- MPICH_URL_HEAD="https://www.mpich.org/static/downloads/${MPICH_VER}"
1111
- MPICH_URL_TAIL="mpich-${MPICH_VER}.tar.gz"
12-
- MPICH_GCC6_BOT_URL_HEAD="https://github.com/sourceryinstitute/OpenCoarrays/files/979804/"
13-
- MPICH_GCC7_BOT_URL_HEAD="https://github.com/sourceryinstitute/OpenCoarrays/files/976779/"
14-
- MPICH_BOT_URL_TAIL="mpich-3.2_3.yosemite.bottle.1.tar.gz"
12+
- MPICH_GCC6_BOT_URL_HEAD="https://github.com/sourceryinstitute/OpenCoarrays/files/1956499/"
13+
- MPICH_GCC7_BOT_URL_HEAD="https://github.com/sourceryinstitute/OpenCoarrays/files/1956441/"
14+
- MPICH_BOT_URL_TAIL="mpich-3.2.1_1.high_sierra.bottle.1.tar.gz"
1515
- BUILD_TYPES="Release Debug RelWithDebInfo CodeCoverage"
1616
matrix:
1717
- GCC=6 OSX_PACKAGES="gcc@6 shellcheck" BUILD_TYPE="InstallScript"

developer-scripts/travis/install.linux.sh

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,21 @@ if [[ "${BUILD_TYPE:-}" != InstallScript ]]; then # Ubuntu on Travis-CI, NOT tes
2525
if ! [[ -x "${HOME}/.local/bin/mpif90" && -x "${HOME}/.local/bin/mpicc" ]]; then
2626
# mpich install not cached
2727
# could use prerequisites/build instead...
28-
wget "${MPICH_URL_HEAD}/${MPICH_URL_TAIL}"
29-
tar -xzvf "${MPICH_URL_TAIL}"
30-
export CC=gcc-${GCC}
31-
export FC=gfortran-${GCC}
28+
echo "Downloading MPICH from ${MPICH_URL_HEAD}/${MPICH_URL_TAIL} ..."
29+
wget "${MPICH_URL_HEAD}/${MPICH_URL_TAIL}" > wget_mpich.log 2>&1 || cat wget_mpich.log
30+
echo "Extracting MPICH ..."
31+
tar -xzvf "${MPICH_URL_TAIL}" > tar_mpich.log 2>&1 || cat tar_mpich.log
32+
export CC=gcc-${GCC}
33+
export FC=gfortran-${GCC}
3234
(
33-
cd "${MPICH_URL_TAIL%.tar.gz}"
34-
./configure --prefix="${CACHE}"
35-
make -j 4
36-
make install
37-
)
35+
cd "${MPICH_URL_TAIL%.tar.gz}"
36+
echo "Configuring MPICH ..."
37+
${TRAVIS:+travis_wait} ./configure --prefix="${CACHE}" > configure_mpich.log 2>&1 || cat configure_mpich.log
38+
echo "Building MPICH ..."
39+
${TRAVIS:+travis_wait 30} make -j 4 > make_mpich.log 2>&1 || cat make_mpich.log
40+
echo "Installing MPICH ..."
41+
${TRAVIS:+travis_wait} make install > install_mpich.log 2>&1 || cat install_mpich.log
42+
)
3843
fi
3944
fi
4045

developer-scripts/travis/test-script.cmake.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ for version in ${GCC}; do
3333
# but puting it here simplifies the Travis code a lot
3434
MPICH_BOT_URL_HEAD=MPICH_GCC${version}_BOT_URL_HEAD
3535
brew uninstall --force --ignore-dependencies mpich || true
36-
wget "${!MPICH_BOT_URL_HEAD}${MPICH_BOT_URL_TAIL}"
36+
echo "Downloading Custom MPICH bottle ${!MPICH_BOT_URL_HEAD}${MPICH_BOT_URL_TAIL} ..."
37+
wget "${!MPICH_BOT_URL_HEAD}${MPICH_BOT_URL_TAIL}" > wget_mpichbottle.log 2>&1 || cat wget_mpichbottle.log
3738
brew install --force-bottle "${MPICH_BOT_URL_TAIL}"
3839
brew ls --versions mpich >/dev/null || brew install --force-bottle mpich
3940
rm "${MPICH_BOT_URL_TAIL}"

0 commit comments

Comments
 (0)