Skip to content

Commit f76e4c2

Browse files
committed
fixes for openblas32 and make macos min version 11.0 on arm64
1 parent 14d3cbf commit f76e4c2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

travis-ci/build_wheel.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ if [ "${INTERFACE64}" != "1" ]; then
4343
mv local/scipy_openblas64 local/scipy_openblas32
4444
sed -e "s/openblas_get_config64_/openblas_get_config/" -i.bak local/scipy_openblas32/__init__.py
4545
sed -e "s/openblas64/openblas32/" -i.bak local/scipy_openblas32/__main__.py
46+
sed -e "s/openblas64/openblas32/" -i.bak local/scipy_openblas32/__init__.py
4647
rm local/scipy_openblas32/*.bak
4748
fi
4849

@@ -52,7 +53,11 @@ python3.7 -m pip wheel -w dist -vv .
5253
if [ $(uname) == "Darwin" ]; then
5354
python3.7 -m pip install delocate
5455
# move the mis-named scipy_openblas64-none-any.whl to a platform-specific name
55-
for f in dist/*.whl; do mv $f "${f/%any.whl/macosx_10_9_$PLAT.whl}"; done
56+
if [ "{PLAT}" == "arm64" ]; then
57+
for f in dist/*.whl; do mv $f "${f/%any.whl/macosx_11_0_$PLAT.whl}"; done
58+
else
59+
for f in dist/*.whl; do mv $f "${f/%any.whl/macosx_10_9_$PLAT.whl}"; done
60+
fi
5661
delocate-wheel -v dist/*.whl
5762
else
5863
auditwheel repair -w dist --lib-sdir /lib dist/*.whl

0 commit comments

Comments
 (0)