Skip to content

Conversation

NicolasHug
Copy link
Member

@NicolasHug NicolasHug commented Jul 4, 2025

This adds the build-platform and build-command options to the windows wheel building scripts. These options are already present for both the linux and macos wheel building scripts. We need this for adding Windows support to torchcodec since we build wheels with python -m build, not with python setup.py.

The corresponding PR in torchcodec is pytorch/torchcodec#753, which is green, so this seems to be working as expected.

Copy link

vercel bot commented Jul 4, 2025

@NicolasHug is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 4, 2025
@NicolasHug NicolasHug changed the title Allow Windows wheels to be built with custom commands Allow Windows x64 wheels to be built with python -m build Aug 3, 2025
@NicolasHug NicolasHug marked this pull request as ready for review August 3, 2025 14:42
Copy link
Contributor

@atalman atalman left a comment

Choose a reason for hiding this comment

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

@NicolasHug NicolasHug merged commit 2e84284 into pytorch:main Aug 4, 2025
20 of 21 checks passed
@NicolasHug NicolasHug deleted the build-platform-windows branch August 4, 2025 14:11
@NicolasHug
Copy link
Member Author

Thanks for the review, I'll merge and will submit the test as a follow-up now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants