Add manylinux_2_34-aarch64 cross-compilation image

New Docker image for building manylinux_2_34 compatible wheels targeting
64-bit ARM (aarch64) architecture.

- Based on AlmaLinux 9 with crosstool-ng 1.27.0 toolchain
- Uses multiarch/qemu-user-static for cross-compilation emulation
- Includes wheel repair script for manylinux compliance
- GCC configured with --disable-gcov (Bug 100289 workaround)
This commit is contained in:
Joris Gillis
2026-02-02 11:13:32 +01:00
committed by Julian Oes
parent 3853c9f0da
commit 65320e84c6
9 changed files with 1316 additions and 2 deletions
+36
View File
@@ -0,0 +1,36 @@
#!/bin/bash
# AUTHOR: odidev
# DATE: 2021-07-20
# DESCRIPTION: This file will be invoked by cibuildwheel when before all is set.
# It will install the package in manylinux container and copy back
# the installed files on host machine will will be coppied to
# toolchain
install_dir='/host/tmp/install_deps'
packages=$(echo $1 | sed 's/\(yum\s*\|install\s*\|-y\s*\)//g')
# Installing the packages
echo "Installing dependencies: $packages"
if $1; then
echo "Installed successfully"
else
echo "Failed"
exit 1
fi
# Coping the installed files
if list=`rpm -ql $packages`; then
echo "Copying dependencies files to prepare cross toolchain-"
for file in $list; do
test -f $file && echo "Copy $file --> ${install_dir}${file}"
test -f $file && install -m 0644 -D $file "${install_dir}${file}"
done
else
echo $list
echo "Dependencies not resolved"
exit 1
fi
exit 0