File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -15,3 +15,4 @@ echo $ENABLE_CONTRIB > contrib.enabled
1515echo $ENABLE_HEADLESS > headless.enabled
1616set -x
1717build_wheel $REPO_DIR $PLAT
18+ rm wheelhouse/numpy*
Original file line number Diff line number Diff 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-
3629if [ -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
You can’t perform that action at this time.
0 commit comments