mirror of
https://github.com/bensuperpc/dockcross.git
synced 2026-07-26 04:48:08 +02:00
65320e84c6
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)
21 lines
710 B
Bash
Executable File
21 lines
710 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# AUTHOR: odidev
|
|
# DATE: 2021-07-20
|
|
# DESCRIPTION: The wheels are cross compiled and we can't be repair in currnet
|
|
# environment. So, better to repair in manylinux container. So,
|
|
# we need to run BEFORE_ALL again in target manylinux contaner. So,
|
|
# instead of running BEFORE_ALL again we can copy the stored files.
|
|
# INPUT: $1 --> Dependeicies install path on host machine with respect to
|
|
# container
|
|
# $2 --> Wheel repair command
|
|
|
|
install_dir="$1"
|
|
|
|
for file in `find $install_dir -type f`; do
|
|
install_path=$(echo ${file} | sed 's/^.*usr/\/usr/')
|
|
install -m 0644 -D ${file} ${install_path}
|
|
done
|
|
|
|
$2
|