Skip to content

Commit

Permalink
travis: do not install NETLIB CBLAS when installing OpenBLAS
Browse files Browse the repository at this point in the history
  • Loading branch information
kortschak committed Dec 8, 2017
1 parent 8e47682 commit 9022e77
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .travis/linux/OpenBLAS/install.sh
Expand Up @@ -31,21 +31,8 @@ if [ ! -e ${CACHE_DIR}/last_commit_id ]; then
pushd OpenBLAS
echo OpenBLAS version:$(git rev-parse HEAD)
sudo make FC=gfortran &> /dev/null && sudo make PREFIX=${CACHE_DIR} install
popd

curl http://www.netlib.org/blas/blast-forum/cblas.tgz | tar -zx

pushd CBLAS
sudo mv Makefile.LINUX Makefile.in
sudo BLLIB=${CACHE_DIR}/lib/libopenblas.a make alllib
sudo mv lib/cblas_LINUX.a ${CACHE_DIR}/lib/libcblas.a
popd

# Record commit id used to generate cache.
pushd OpenBLAS
echo $(git rev-parse HEAD) > ${CACHE_DIR}/last_commit_id
popd

fi

# copy the cache files into /usr
Expand Down

0 comments on commit 9022e77

Please sign in to comment.