Skip to content

Commit 9bf17cf

Browse files
committed
feat: add manylinux_2_39
1 parent a9de288 commit 9bf17cf

File tree

4 files changed

+27
-6
lines changed

4 files changed

+27
-6
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ jobs:
5151
import os
5252
import json
5353
reduced = [
54-
("x86_64", "ubuntu-24.04", ("manylinux2014", "manylinux_2_28", "manylinux_2_34", "musllinux_1_2")),
55-
("aarch64", "ubuntu-24.04-arm", ("manylinux2014", "manylinux_2_28", "manylinux_2_34", "musllinux_1_2")),
54+
("x86_64", "ubuntu-24.04", ("manylinux2014", "manylinux_2_28", "manylinux_2_34", "manylinux_2_39", "musllinux_1_2")),
55+
("aarch64", "ubuntu-24.04-arm", ("manylinux2014", "manylinux_2_28", "manylinux_2_34", "manylinux_2_39", "musllinux_1_2")),
5656
("i686", "ubuntu-24.04", ("manylinux2014", "manylinux_2_28", "musllinux_1_2")),
57-
("armv7l", "ubuntu-24.04-arm", ("manylinux_2_35", "manylinux_2_31", "musllinux_1_2")),
58-
("riscv64", "ubuntu-24.04", ("manylinux_2_35", "manylinux_2_31", "musllinux_1_2")),
57+
("armv7l", "ubuntu-24.04-arm", ("manylinux_2_31", "manylinux_2_35", "musllinux_1_2")),
58+
("riscv64", "ubuntu-24.04", ("manylinux_2_31", "manylinux_2_35", "manylinux_2_39", "musllinux_1_2")),
5959
("s390x", "ubuntu-24.04", ("musllinux_1_2",)),
6060
]
6161
expanded = [{"policy": policy, "platform": platform, "runner": runner} for platform, runner, policies in reduced for policy in policies]

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ jobs:
3838
env: POLICY="manylinux_2_34" PLATFORM="s390x"
3939
- arch: ppc64le
4040
env: POLICY="manylinux_2_34" PLATFORM="ppc64le"
41+
- arch: s390x
42+
env: POLICY="manylinux_2_39" PLATFORM="s390x"
43+
- arch: ppc64le
44+
env: POLICY="manylinux_2_39" PLATFORM="ppc64le"
4145
- arch: ppc64le
4246
env: POLICY="musllinux_1_2" PLATFORM="ppc64le"
4347

build.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,18 @@ elif [ "${POLICY}" == "manylinux_2_35" ]; then
5353
DEVTOOLSET_ROOTPATH=
5454
PREPEND_PATH=
5555
LD_LIBRARY_PATH_ARG=
56+
elif [ "${POLICY}" == "manylinux_2_39" ]; then
57+
BASEIMAGE="quay.io/almalinuxorg/almalinux:10"
58+
case "${PLATFORM}" in
59+
x86_64) GOARCH="amd64/v2";;
60+
riscv64) BASEIMAGE="rockylinux/rockylinux:10";;
61+
esac
62+
# DEVTOOLSET_ROOTPATH="/opt/rh/gcc-toolset-15/root"
63+
# PREPEND_PATH="/usr/local/bin:${DEVTOOLSET_ROOTPATH}/usr/bin:"
64+
# LD_LIBRARY_PATH_ARG="${DEVTOOLSET_ROOTPATH}/usr/lib64:${DEVTOOLSET_ROOTPATH}/usr/lib:${DEVTOOLSET_ROOTPATH}/usr/lib64/dyninst:${DEVTOOLSET_ROOTPATH}/usr/lib/dyninst"
65+
DEVTOOLSET_ROOTPATH=
66+
PREPEND_PATH=
67+
LD_LIBRARY_PATH_ARG=
5668
elif [ "${POLICY}" == "musllinux_1_2" ]; then
5769
BASEIMAGE="alpine:3.22"
5870
DEVTOOLSET_ROOTPATH=

docker/build_scripts/install-runtime-packages.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ elif [ "${OS_ID_LIKE}" == "rhel" ]; then
121121
echo "tsflags=nodocs" >> /etc/dnf/dnf.conf
122122
dnf -y upgrade
123123
EPEL=epel-release
124-
if [ "${AUDITWHEEL_ARCH}" == "i686" ]; then
124+
if [ "${AUDITWHEEL_ARCH}" == "i686" ] || [ "${AUDITWHEEL_ARCH}" == "riscv64" ]; then
125125
EPEL=
126126
fi
127127
dnf -y install dnf-plugins-core ${EPEL}
@@ -130,7 +130,12 @@ elif [ "${OS_ID_LIKE}" == "rhel" ]; then
130130
else
131131
dnf config-manager --set-enabled crb
132132
fi
133-
TOOLCHAIN_DEPS=(gcc-toolset-14-binutils gcc-toolset-14-gcc gcc-toolset-14-gcc-c++ gcc-toolset-14-gcc-gfortran gcc-toolset-14-libatomic-devel)
133+
if [ "${AUDITWHEEL_POLICY}" == "manylinux_2_28" ] || [ "${AUDITWHEEL_POLICY}" == "manylinux_2_34" ]; then
134+
TOOLCHAIN_DEPS=(gcc-toolset-14-binutils gcc-toolset-14-gcc gcc-toolset-14-gcc-c++ gcc-toolset-14-gcc-gfortran gcc-toolset-14-libatomic-devel)
135+
else
136+
# TOOLCHAIN_DEPS=(gcc-toolset-15-binutils gcc-toolset-15-gcc gcc-toolset-15-gcc-c++ gcc-toolset-15-gcc-gfortran gcc-toolset-15-libatomic-devel)
137+
TOOLCHAIN_DEPS=(binutils gcc gcc-c++ gcc-gfortran libatomic)
138+
fi
134139
if [ "${AUDITWHEEL_ARCH}" == "x86_64" ]; then
135140
TOOLCHAIN_DEPS+=(yasm)
136141
fi

0 commit comments

Comments
 (0)