Skip to content

Commit

Permalink
tools/docker: Fix auditwheel run
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Jan 21, 2025
1 parent 5085bc5 commit afc5e26
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tools/docker/python/build-manylinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit afc5e26

Please sign in to comment.