File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ if [ "${INTERFACE64}" != "1" ]; then
43
43
mv local/scipy_openblas64 local/scipy_openblas32
44
44
sed -e " s/openblas_get_config64_/openblas_get_config/" -i.bak local/scipy_openblas32/__init__.py
45
45
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
46
47
rm local/scipy_openblas32/* .bak
47
48
fi
48
49
@@ -52,7 +53,11 @@ python3.7 -m pip wheel -w dist -vv .
52
53
if [ $( uname) == " Darwin" ]; then
53
54
python3.7 -m pip install delocate
54
55
# 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
56
61
delocate-wheel -v dist/* .whl
57
62
else
58
63
auditwheel repair -w dist --lib-sdir /lib dist/* .whl
You can’t perform that action at this time.
0 commit comments