-
Notifications
You must be signed in to change notification settings - Fork 2
[main] Add manylinux2_28 to wheel names #77
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
base: main
Are you sure you want to change the base?
Conversation
manywheel/build_common.sh
Outdated
fi | ||
|
||
# zip up the wheel back | ||
zip -rq $(basename $pkg) $PREIX* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to go
Also the lines below need to move into the if/else condition above:
# replace original wheel
rm -f $pkg
mv $(basename $pkg) $pkg
manywheel/build_common.sh
Outdated
wheel_file=$(basename "$pkg" | sed -e 's/-cp.*$/.dist-info\/WHEEL/') | ||
sed -i -e "s#linux_x86_64#${PLATFORM}#" "$wheel_file" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These need to go
manywheel/build_common.sh
Outdated
wheel_file=$(basename "$pkg" | sed -e 's/-cp.*$/.dist-info\/WHEEL/') | ||
sed -i -e "s#linux_x86_64#${PLATFORM}#" "$wheel_file" | ||
|
||
zip -rq "$(basename "$pkg" | sed -e "s#linux_x86_64#${PLATFORM}#")" "${PREFIX}"* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternate idea: assign $pkg
to $("$pkg" | sed -e "s#linux_x86_64#${PLATFORM}#")
so that all the command after can keep referring to $pkg
. Not sure if it messes with the iterator.
Porting changes from pytorch/pytorch#141988
http://rocm-ci.amd.com/job/mainline-pytorch2.7-manylinux-wheels/221/
http://rocm-ci.amd.com/job/mainline-pytorch2.7-manylinux-wheels/286/