Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: restore building 'manylinux1' wheels #87

Merged
merged 3 commits into from
Sep 1, 2021
Merged
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
19 changes: 17 additions & 2 deletions scripts/manylinux/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,25 @@ MANYLINUX_DIR=$(echo $(cd $(dirname ${0}); pwd))
SCRIPTS_DIR=$(dirname ${MANYLINUX_DIR})
REPO_ROOT=$(dirname ${SCRIPTS_DIR})

docker pull quay.io/pypa/manylinux2010_x86_64
docker pull quay.io/pypa/manylinux2014_x86_64

cd $REPO_ROOT
git submodule update --init --recursive

# Note: PyPA's support for the 'manylinux1' image ends on 2022-01-01.
# See: https://github.com/pypa/manylinux/issues/994
# No 3.10 support for 'manylinux1'.
if [[ "${BUILD_PYTHON}" != "3.10"* ]]; then
docker pull quay.io/pypa/manylinux1_x86_64
docker run \
--rm \
--interactive \
--volume ${REPO_ROOT}:/var/code/python-crc32c/ \
--env BUILD_PYTHON=${BUILD_PYTHON} \
quay.io/pypa/manylinux1_x86_64 \
/var/code/python-crc32c/scripts/manylinux/build_on_centos.sh
fi

docker pull quay.io/pypa/manylinux2010_x86_64
docker run \
--rm \
--interactive \
Expand All @@ -35,6 +48,7 @@ docker run \
quay.io/pypa/manylinux2010_x86_64 \
/var/code/python-crc32c/scripts/manylinux/build_on_centos.sh

docker pull quay.io/pypa/manylinux2014_x86_64
docker run \
--rm \
--interactive \
Expand All @@ -44,6 +58,7 @@ docker run \
/var/code/python-crc32c/scripts/manylinux/build_on_centos.sh

docker run --rm --privileged hypriot/qemu-register
docker pull quay.io/pypa/manylinux2014_aarch64
docker run \
--rm \
--interactive \
Expand Down