Skip to content

Commit

Permalink
specific
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Oct 9, 2024
1 parent 13cb4b1 commit 5154f0a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions manylinux2014-wheel-build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ cd /Pillow
PATH=$PYBIN:$PATH make clean

# Build and repair
echo "torch"
ls -la /opt/python
echo "torch2"
ls -la $PYBIN
$PYBIN/pip --verbose wheel ${OPTS} -w /tmp /Pillow
$PYBIN/pip install auditwheel
$PYBIN/python3 -m auditwheel repair /tmp/pillow*whl -w /output
2 changes: 1 addition & 1 deletion manylinux_2_28-wheel-build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ rm -f /tmp/*.whl || true
# Python version, as 39,310,311,312,313. Defaults to 313.
# Matches the naming in /opt/python/
PYVER=${1:-313}
PYBIN=$(echo /opt/python/cp${PYVER}*/bin)
PYBIN=$(echo /opt/python/cp313-cp313/bin)

# We have to clean up the Pillow directories, otherwise we might get
# cached builds that are not manylinux wheel compatible
Expand Down

0 comments on commit 5154f0a

Please # to comment.