@@ -135,18 +135,28 @@ RUN --mount=type=bind,from=static_clang,target=/tmp/cross-compiler,ro \
135135FROM build_base AS build_mpdecimal
136136COPY build_scripts/build-mpdecimal.sh /build_scripts/
137137RUN --mount=type=bind,from=static_clang,target=/tmp/cross-compiler,ro \
138- export MPDECIMAL_ROOT=mpdecimal-4.0.0 && \
139- export MPDECIMAL_HASH=942445c3245b22730fd41a67a7c5c231d11cb1b9936b9c0f76334fb7d0b4468c && \
138+ export MPDECIMAL_ROOT=mpdecimal-4.0.1 && \
139+ export MPDECIMAL_HASH=96d33abb4bb0070c7be0fed4246cd38416188325f820468214471938545b1ac8 && \
140140 export MPDECIMAL_DOWNLOAD_URL=https://www.bytereef.org/software/mpdecimal/releases && \
141141 /tmp/cross-compiler/entrypoint /build_scripts/build-mpdecimal.sh
142142
143143
144+ FROM build_base AS build_zstd
145+ COPY build_scripts/build-zstd.sh /build_scripts/
146+ RUN --mount=type=bind,from=static_clang,target=/tmp/cross-compiler,ro \
147+ export ZSTD_VERSION=1.5.7 && \
148+ export ZSTD_HASH=eb33e51f49a15e023950cd7825ca74a4a2b43db8354825ac24fc1b7ee09e6fa3 && \
149+ export ZSTD_DOWNLOAD_URL=https://github.com/facebook/zstd/releases/download && \
150+ /tmp/cross-compiler/entrypoint /build_scripts/build-zstd.sh
151+
152+
144153FROM --platform=${BUILDPLATFORM} ghcr.io/sigstore/cosign/cosign:v${MANYLINUX_COSIGN_VERSION} AS cosign-bin
145154
146155
147156FROM build_base AS build_cpython
148157COPY --from=build_tcl_tk /manylinux-buildfs /
149158COPY --from=build_mpdecimal /manylinux-buildfs /
159+ COPY --from=build_zstd /manylinux-buildfs /
150160COPY --from=build_sqlite3 /manylinux-buildfs /
151161RUN if command -v apk >/dev/null 2>&1; then ldconfig /; else ldconfig; fi
152162COPY build_scripts/build-openssl.sh /build_scripts/
@@ -208,6 +218,7 @@ RUN --mount=type=bind,from=static_clang,target=/tmp/cross-compiler,ro \
208218FROM runtime_base
209219COPY --from=build_tcl_tk /manylinux-rootfs /
210220COPY --from=build_mpdecimal /manylinux-rootfs /
221+ COPY --from=build_zstd /manylinux-rootfs /
211222COPY --from=build_sqlite3 /manylinux-rootfs /
212223COPY --from=build_git /manylinux-rootfs /
213224COPY build_scripts /opt/_internal/build_scripts/
@@ -221,7 +232,8 @@ RUN --mount=type=bind,target=/build_cpython38,from=build_cpython38 \
221232 --mount=type=bind,target=/build_cpython314,from=build_cpython314 \
222233 --mount=type=bind,target=/build_cpython314_nogil,from=build_cpython314_nogil \
223234 mkdir -p /opt/_internal && \
224- cp -rf /build_cpython*/opt/_internal/* /opt/_internal/ && \
235+ cp -rf /build_cpython*/opt/_internal/cpython* /opt/_internal/ && \
236+ if test -n "$(find /build_cpython314/opt/_internal -maxdepth 1 -name 'openssl*' -print -quit)" ; then cp -rf /build_cpython314/opt/_internal/openssl* /opt/_internal/; fi && \
225237 manylinux-entrypoint /opt/_internal/build_scripts/finalize.sh \
226238 pp311-pypy311_pp73
227239
0 commit comments