Skip to content

Commit 3c1ea44

Browse files
author
Andrey Senyaev
committed
Changed blas to openblas and fixed flow to a proper installation
1 parent 5fedf82 commit 3c1ea44

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

scripts/build.sh

+1
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ echo $ENABLE_CONTRIB > contrib.enabled
1515
echo $ENABLE_HEADLESS > headless.enabled
1616
set -x
1717
build_wheel $REPO_DIR $PLAT
18+
rm wheelhouse/numpy*

travis_config.sh

+8-7
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,6 @@ function bdist_wheel_cmd {
2626
if [ -n "$USE_CCACHE" -a -z "$BREW_BOOTSTRAP_MODE" ]; then ccache -s; fi
2727
}
2828

29-
if [ -n "$IS_OSX" ]; then
30-
brew install lapack
31-
else
32-
yum install -y atlas-devel blas-devel lapack-devel
33-
cp /usr/include/lapacke/lapacke*.h /usr/include/
34-
fi
35-
3629
if [ -n "$IS_OSX" ]; then
3730
echo " > OSX environment "
3831
export MAKEFLAGS="-j$(sysctl -n hw.ncpu)"
@@ -99,6 +92,14 @@ function pre_build {
9992
echo "Starting pre-build"
10093
set -e -o pipefail
10194

95+
if [ -n "$IS_OSX" ]; then
96+
brew install lapack
97+
else
98+
yum install -y lapack-devel openblas-devel
99+
cp /usr/include/lapacke/lapacke*.h /usr/include/
100+
curl https://raw.githubusercontent.com/xianyi/OpenBLAS/v0.3.3/cblas.h -o /usr/include/cblas.h
101+
fi
102+
102103
if [ -n "$IS_OSX" ]; then
103104
echo "Running for OSX"
104105

0 commit comments

Comments
 (0)