Skip to content

[main] Add manylinux2_28 to wheel names #77

Draft
ethanwee1 wants to merge 8 commits into
mainfrom
add_manylinux2_28
Draft

[main] Add manylinux2_28 to wheel names #77
ethanwee1 wants to merge 8 commits into
mainfrom
add_manylinux2_28

Conversation

@ethanwee1
Copy link
Copy Markdown

@ethanwee1 ethanwee1 commented Apr 24, 2025

Comment thread manywheel/build_common.sh Outdated
fi

# zip up the wheel back
zip -rq $(basename $pkg) $PREIX*
Copy link
Copy Markdown
Collaborator

@jithunnair-amd jithunnair-amd Jun 6, 2025

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

Comment thread manywheel/build_common.sh Outdated
Comment on lines +207 to +208
wheel_file=$(basename "$pkg" | sed -e 's/-cp.*$/.dist-info\/WHEEL/')
sed -i -e "s#linux_x86_64#${PLATFORM}#" "$wheel_file"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These need to go

Comment thread 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}"*
Copy link
Copy Markdown
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants