From afc5e266ea28837c1ea0eb1777674afbf56460f9 Mon Sep 17 00:00:00 2001 From: Mizux Seiha Date: Tue, 21 Jan 2025 15:57:09 +0100 Subject: [PATCH] tools/docker: Fix auditwheel run --- tools/docker/python/build-manylinux.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/docker/python/build-manylinux.sh b/tools/docker/python/build-manylinux.sh index 6c31c30998..1b8cbf6654 100755 --- a/tools/docker/python/build-manylinux.sh +++ b/tools/docker/python/build-manylinux.sh @@ -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