Skip to content

Commit ff6fa77

Browse files
committed
fix: install perl-core for complete OpenSSL build deps in manylinux
Replace individual perl-IPC-Cmd with perl-core meta-package, which installs all core Perl modules needed by OpenSSL's build system (IPC::Cmd, Time::Piece, Locale::Maketext::Simple, etc.). This matches what PyPA's own manylinux project uses to build OpenSSL. Also properly detect the package manager: yum for the AlmaLinux-based x86_64 manylinux image, apt-get for the Ubuntu-based aarch64 cross image.
1 parent 173cb49 commit ff6fa77

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/release.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,14 @@ jobs:
3232
sccache: 'true'
3333
manylinux: 2_28
3434
# Install build dependencies inside the container.
35-
# x86_64 uses manylinux_2_28 (AlmaLinux/dnf), aarch64 cross uses Ubuntu (apt-get).
36-
before-script-linux: >-
37-
dnf install -y cmake perl-IPC-Cmd clang-devel ||
38-
(apt-get update && apt-get install -y cmake libclang-dev)
35+
# x86_64 runs in manylinux_2_28 (AlmaLinux 8 / yum).
36+
# aarch64 cross-compiles in rust-cross/manylinux_2_28-cross (Ubuntu / apt-get).
37+
before-script-linux: |
38+
if command -v yum &> /dev/null; then
39+
yum install -y perl-core cmake clang-devel
40+
else
41+
apt-get update && apt-get install -y perl cmake libclang-dev
42+
fi
3943
4044
- name: Upload wheels
4145
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)