提交 3c1ea440 编写于 作者: A Andrey Senyaev

Changed blas to openblas and fixed flow to a proper installation

上级 5fedf828
......@@ -15,3 +15,4 @@ echo $ENABLE_CONTRIB > contrib.enabled
echo $ENABLE_HEADLESS > headless.enabled
set -x
build_wheel $REPO_DIR $PLAT
rm wheelhouse/numpy*
......@@ -26,13 +26,6 @@ function bdist_wheel_cmd {
if [ -n "$USE_CCACHE" -a -z "$BREW_BOOTSTRAP_MODE" ]; then ccache -s; fi
}
if [ -n "$IS_OSX" ]; then
brew install lapack
else
yum install -y atlas-devel blas-devel lapack-devel
cp /usr/include/lapacke/lapacke*.h /usr/include/
fi
if [ -n "$IS_OSX" ]; then
echo " > OSX environment "
export MAKEFLAGS="-j$(sysctl -n hw.ncpu)"
......@@ -99,6 +92,14 @@ function pre_build {
echo "Starting pre-build"
set -e -o pipefail
if [ -n "$IS_OSX" ]; then
brew install lapack
else
yum install -y lapack-devel openblas-devel
cp /usr/include/lapacke/lapacke*.h /usr/include/
curl https://raw.githubusercontent.com/xianyi/OpenBLAS/v0.3.3/cblas.h -o /usr/include/cblas.h
fi
if [ -n "$IS_OSX" ]; then
echo "Running for OSX"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册