Skip to content

Commit

Permalink
try setting _PYTHON_HOST_PLATFORM="linux_armv7l"
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Mar 11, 2023
1 parent e59ac58 commit f05ee64
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/manylinux-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ set -eu
if [ "${AUDITWHEEL_ARCH}" == "i686" ]; then
linux32 "$@"
elif [ "${AUDITWHEEL_ARCH}" == "armv7l" ] && [ "$(uname -m)" != "armv7l" ]; then
setarch armv7l "$@"
if [ "$(linux32 uname -m)" == "armv8l" ]; then
export _PYTHON_HOST_PLATFORM="linux_armv7l"
fi
linux32 "$@"
else
exec "$@"
fi

0 comments on commit f05ee64

Please sign in to comment.