Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 35142a2

Browse files
committed
install libgfortran.so.3, put openblas into /usr/local
1 parent c36e605 commit 35142a2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

config.sh

+5-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ function build_wheel {
77
local lib_plat=$PLAT
88
if [ -n "$IS_OSX" ]; then
99
install_gfortran
10+
else
11+
# For manylinux2010 builds with manylinux1 openblas builds
12+
$use_sudo yum install -y libgfortran-4.4.7
1013
fi
1114
build_libs $lib_plat
1215
# Fix version error for development wheels by using bdist_wheel
@@ -16,8 +19,8 @@ function build_wheel {
1619
function build_libs {
1720
# Use the same incantation as numpy/tools/travis-before-install.sh
1821
target=$(python numpy/tools/openblas_support.py)
19-
$use_sudo cp -r $target/lib/* /usr/lib
20-
$use_sudo cp $target/include/* /usr/include
22+
$use_sudo cp -r $target/lib/* /usr/local/lib
23+
$use_sudo cp $target/include/* /usr/local/include
2124
}
2225

2326
function get_test_cmd {

0 commit comments

Comments
 (0)