Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3c1ea44

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

File tree

Expand file treeCollapse file tree

2 files changed

+9
-7
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+9
-7
lines changed

‎scripts/build.sh

Copy file name to clipboardExpand all lines: scripts/build.sh
+1Lines changed: 1 addition & 0 deletions
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

Copy file name to clipboardExpand all lines: travis_config.sh
+8-7Lines changed: 8 additions & 7 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.