Skip to content

Commit

Permalink
TST: use POWER8 OpenBLAS for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerjereddy committed Apr 5, 2019
1 parent c1bf6a6 commit 77b2be2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ matrix:
env:
# for matrix annotation only
- PPC64_LE=1
# use POWER8 OpenBLAS build, not system ATLAS
- ATLAS=None

before_install:
- ./tools/travis-before-install.sh
Expand Down
11 changes: 11 additions & 0 deletions tools/travis-before-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,17 @@ if [ -n "$INSTALL_PICKLE5" ]; then
pip install pickle5
fi

if [ -n "$PPC64_LE" ]; then
# build script for POWER8 OpenBLAS available here:
# https://github.com/tylerjereddy/openblas-static-gcc/blob/master/power8
# built on GCC compile farm machine named gcc112
# manually uploaded tarball to an unshared Dropbox location
wget -O openblas-power8.tar.gz https://www.dropbox.com/s/zcwhk7c2zptwy0s/openblas-v0.3.5-ppc64le-power8.tar.gz?dl=0
tar zxvf openblas-power8.tar.gz
sudo cp -r ./64/lib/* /usr/lib
sudo cp ./64/include/* /usr/include
fi

pip install --upgrade pip setuptools
pip install nose pytz cython pytest
if [ -n "$USE_ASV" ]; then pip install asv; fi
Expand Down

0 comments on commit 77b2be2

Please sign in to comment.