tools/docker: Fix auditwheel run

This commit is contained in:
Mizux Seiha
2025-01-21 15:57:09 +01:00
parent 5085bc5957
commit afc5e266ea

View File

@@ -144,14 +144,15 @@ function check_wheel() {
done
# Check all generated wheel packages
ROOT_DIR=$(pwd)
pushd "${BUILD_DIR}/python/dist"
for FILE in *.whl; do
# if no files found do nothing
[[ -e "$FILE" ]] || continue
python -m auditwheel show "$FILE" || true
python -m auditwheel -v repair --plat "manylinux_2_28_$PLATFORM" "$FILE" -w "$export_root"
#python -m auditwheel -v repair --plat manylinux_2_28_x86_64 "$FILE" -w "$export_root"
#python -m auditwheel -v repair --plat manylinux_2_28_aarch64 "$FILE" -w "$export_root"
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${ROOT_DIR}/${BUILD_DIR}/lib64" python -m auditwheel repair --plat "manylinux_2_28_$PLATFORM" "$FILE" -w .
#python -m auditwheel -v repair --plat manylinux_2_28_x86_64 "$FILE" -w .
#python -m auditwheel -v repair --plat manylinux_2_28_aarch64 "$FILE" -w .
done
popd