Skip to content

Commit 63bf06e

Browse files
committed
feat: add manylinux_2_34_i686
1 parent 0087d82 commit 63bf06e

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
reduced = [
5454
("x86_64", "ubuntu-24.04", ("manylinux2014", "manylinux_2_28", "manylinux_2_34", "musllinux_1_2")),
5555
("aarch64", "ubuntu-24.04-arm", ("manylinux2014", "manylinux_2_28", "manylinux_2_34", "musllinux_1_2")),
56-
("i686", "ubuntu-24.04", ("manylinux2014", "manylinux_2_28", "musllinux_1_2")),
56+
("i686", "ubuntu-24.04", ("manylinux2014", "manylinux_2_28", "manylinux_2_34", "musllinux_1_2")),
5757
("armv7l", "ubuntu-24.04-arm", ("manylinux_2_31", "musllinux_1_2")),
5858
("s390x", "ubuntu-24.04", ("musllinux_1_2",)),
5959
]

README.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The manylinux project supports:
3636

3737
- ``manylinux_2_28`` images for ``x86_64``, ``i686``, ``aarch64``, ``ppc64le`` and ``s390x``.
3838

39-
- ``manylinux_2_34`` images for ``x86_64``, ``aarch64``, ``ppc64le`` and ``s390x``.
39+
- ``manylinux_2_34`` images for ``x86_64``, ``i686``, ``aarch64``, ``ppc64le`` and ``s390x``.
4040

4141
- ``musllinux_1_2`` images for ``x86_64``, ``i686``, ``aarch64``, ``ppc64le``, ``s390x`` and ``armv7l``.
4242

@@ -107,6 +107,7 @@ See https://github.com/pypa/manylinux/issues/1725
107107
Toolchain: GCC 14
108108

109109
- x86_64 image: ``quay.io/pypa/manylinux_2_34_x86_64``
110+
- i686 image: ``quay.io/pypa/manylinux_2_34_i686``
110111
- aarch64 image: ``quay.io/pypa/manylinux_2_34_aarch64``
111112
- ppc64le image: ``quay.io/pypa/manylinux_2_34_ppc64le``
112113
- s390x image: ``quay.io/pypa/manylinux_2_34_s390x``

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ elif [ "${POLICY}" == "manylinux_2_31" ]; then
4444
PREPEND_PATH=
4545
LD_LIBRARY_PATH_ARG=
4646
elif [ "${POLICY}" == "manylinux_2_34" ]; then
47-
BASEIMAGE="almalinux:9"
47+
BASEIMAGE="quay.io/almalinuxorg/almalinux:9"
4848
DEVTOOLSET_ROOTPATH="/opt/rh/gcc-toolset-14/root"
4949
PREPEND_PATH="/usr/local/bin:${DEVTOOLSET_ROOTPATH}/usr/bin:"
5050
LD_LIBRARY_PATH_ARG="${DEVTOOLSET_ROOTPATH}/usr/lib64:${DEVTOOLSET_ROOTPATH}/usr/lib:${DEVTOOLSET_ROOTPATH}/usr/lib64/dyninst:${DEVTOOLSET_ROOTPATH}/usr/lib/dyninst"

deploy_multiarch.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@ for IMAGE in "${IMAGES[@]}"; do
3232

3333
case ${IMAGE} in
3434
manylinux_2_31) ARCHS=("armv7l");;
35-
manylinux_2_28) ARCHS=("x86_64" "i686" "aarch64" "ppc64le" "s390x");;
36-
manylinux2014) ARCHS=("x86_64" "i686" "aarch64" "ppc64le" "s390x");;
3735
musllinux_1_2) ARCHS=("x86_64" "i686" "aarch64" "armv7l" "ppc64le" "s390x");;
38-
*) ARCHS=("x86_64" "aarch64" "ppc64le" "s390x");;
36+
*) ARCHS=("x86_64" "i686" "aarch64" "ppc64le" "s390x");;
3937
esac
4038

4139
LATEST_MANIFEST=

docker/build_scripts/install-runtime-packages.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ elif [ "${OS_ID_LIKE}" == "rhel" ]; then
120120
echo "tsflags=nodocs" >> /etc/dnf/dnf.conf
121121
dnf -y upgrade
122122
EPEL=epel-release
123-
if [ "${AUDITWHEEL_PLAT}" == "manylinux_2_28_i686" ]; then
123+
if [ "${AUDITWHEEL_ARCH}" == "i686" ]; then
124124
EPEL=
125125
fi
126126
dnf -y install dnf-plugins-core ${EPEL}
@@ -164,3 +164,7 @@ else
164164
chsh -s /bin/bash root
165165
useradd -D -s /bin/bash
166166
fi
167+
168+
if [ "${OS_ID_LIKE}-${AUDITWHEEL_ARCH}" == "rhel-i686" ] && [ -f /usr/bin/i686-redhat-linux-gnu-pkg-config ] && [ ! -f /usr/bin/i386-redhat-linux-gnu-pkg-config ]; then
169+
ln -s i686-redhat-linux-gnu-pkg-config /usr/bin/i386-redhat-linux-gnu-pkg-config
170+
fi

0 commit comments

Comments
 (0)