mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-21 18:33:34 +02:00
Add manylinux2014-aarch64 with gcc=9.3
This commit is contained in:
20
manylinux2014-aarch64/xc_script/repair_wheel.sh
Executable file
20
manylinux2014-aarch64/xc_script/repair_wheel.sh
Executable file
@ -0,0 +1,20 @@
|
||||
#!/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
|
Reference in New Issue
Block a user