Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion OpenBLAS
22 changes: 15 additions & 7 deletions ci-repair-wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,22 @@ else

# Add an RPATH to libgfortran:
# https://github.com/pypa/auditwheel/issues/451
if [ "$MB_ML_LIBC" == "musllinux" ]; then
apk add zip
else
yum install -y zip
fi
unzip $1/*.whl "*libgfortran*"
# Use zipfile since the manylinux images do not have `zip`
python3 -c "
import re, sys, zipfile, pathlib
whl = next(pathlib.Path(sys.argv[1]).glob('*.whl'))
with zipfile.ZipFile(whl, 'a') as z:
members = [m for m in z.namelist() if re.search(r'libgfortran', m)]
z.extractall(members=members)
" "$1"
patchelf --force-rpath --set-rpath '$ORIGIN' */lib/libgfortran*
zip $1/*.whl */lib/libgfortran*
python3 -c "
import sys, zipfile, pathlib, glob
whl = next(pathlib.Path(sys.argv[1]).glob('*.whl'))
with zipfile.ZipFile(whl, 'a') as z:
for f in glob.glob('*/lib/libgfortran*'):
z.write(f)
" "$1"
mkdir -p /output
# copy libs/openblas*.tar.gz to dist/
cp libs/openblas*.tar.gz /output/
Expand Down
2 changes: 1 addition & 1 deletion openblas_commit.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.3.31-22-g5ffbf38b
v0.3.31-126-g55b16e59
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ build-backend = "setuptools.build_meta"

[project]
name = "scipy-openblas64"
# v0.3.31-22-g5ffbf38b
version = "0.3.31.22.1"
# v0.3.31-126-g55b16e59
version = "0.3.31.126.0"
requires-python = ">=3.7"
description = "Provides OpenBLAS for python packaging"
readme = "README.md"
Expand Down
Loading