Skip to content

Debug #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions packaging/post_build_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ echo `ls libs_to_bundle`
export LD_LIBRARY_PATH="$PWD/libs_to_bundle:$LD_LIBRARY_PATH"

# This is the oldest we can do based on the existing dependencies.
wheel_platform="manylinux_2_39_x86_64"
wheel_platform="manylinux_2_28_x86_64"

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

Expand All @@ -27,8 +27,8 @@ mkdir original_wheel
mv $wheel_path original_wheel/


# This is absolutely disgusting, we're effectively pretending that the wheel is
# compatible with older platforms than it actually does.
new_wheel_platform="manylinux_2_17_x86_64.manylinux2014_x86_64"
echo "Replacing ${wheel_platform} with ${new_wheel_platform} in wheel name"
mv dist/*${wheel_platform}*.whl $(echo dist/*${wheel_platform}*.whl | sed "s/${wheel_platform}/${new_wheel_platform}/")
# # This is absolutely disgusting, we're effectively pretending that the wheel is
# # compatible with older platforms than it actually does.
# new_wheel_platform="manylinux_2_17_x86_64.manylinux2014_x86_64"
# echo "Replacing ${wheel_platform} with ${new_wheel_platform} in wheel name"
# mv dist/*${wheel_platform}*.whl $(echo dist/*${wheel_platform}*.whl | sed "s/${wheel_platform}/${new_wheel_platform}/")
2 changes: 1 addition & 1 deletion packaging/pre_build_script.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

pip install auditwheel
conda install libavif libheif -c conda-forge -yq
conda install "libavif=1.0.1" "libheif=1.16.2" -c conda-forge -yq
Loading