Skip to content

Commit

Permalink
Try manylinux_2_31_x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHug committed Dec 5, 2024
1 parent be24a56 commit 4a26c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/post_build_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ for f in `find $CONDA_PREFIX/lib | grep -e libavif.so -e libdav1d.so -e librav1e
echo `ls libs_to_bundle`
export LD_LIBRARY_PATH="$PWD/libs_to_bundle:$LD_LIBRARY_PATH"

${CONDA_RUN} auditwheel -v repair --plat manylinux_2_35_x86_64 $wheel_path --exclude libtorch_python.so --exclude libc10.so --exclude libtorch.so --exclude libtorch_cpu.so --wheel-dir dist
${CONDA_RUN} auditwheel -v repair --plat manylinux_2_31_x86_64 $wheel_path --exclude libtorch_python.so --exclude libc10.so --exclude libtorch.so --exclude libtorch_cpu.so --wheel-dir dist

# mv original wheel to a different dir, the 'repaired' wheel outputed by auditwheel should still be in `dist` and treated and *the* wheel
mkdir original_wheel
Expand Down

0 comments on commit 4a26c6d

Please sign in to comment.