Skip to content
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

bpo-46744: Support "-Win32" and make platform flags case insensitive on Windows build scripts #31803

Merged
merged 1 commit into from Aug 25, 2022

Conversation

conioh
Copy link
Contributor

@conioh conioh commented Mar 10, 2022

Minor issue I noticed during discussion in https://bugs.python.org/issue46744: The help string says to use "-ARM64" but the build script expects "-arm64".

This change makes the string compare case insensitive, makes the string compares for "-x86" and "-x64" case-insensitive too (just in case), and adds "-Win32" to the MSI build scripts to match the platform name passed to PCBuild/build.bat.

@zooba

https://bugs.python.org/issue46744

@the-knights-who-say-ni
Copy link

the-knights-who-say-ni commented Mar 10, 2022

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA).

Recognized GitHub username

We couldn't find a bugs.python.org (b.p.o) account corresponding to the following GitHub usernames:

@conioh

This might be simply due to a missing "GitHub Name" entry in one's b.p.o account settings. This is necessary for legal reasons before we can look at this contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

You can check yourself to see if the CLA has been received.

Thanks again for the contribution, we look forward to reviewing it!

@zooba zooba merged commit 1288097 into python:main Aug 25, 2022
15 checks passed
@miss-islington
Copy link
Contributor

miss-islington commented Aug 25, 2022

Thanks @conioh for the PR, and @zooba for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒🤖

@miss-islington
Copy link
Contributor

miss-islington commented Aug 25, 2022

Sorry, @conioh and @zooba, I could not cleanly backport this to 3.10 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 1288097088dcf3bad3799bd5867e7675515a5b18 3.10

@bedevere-bot
Copy link

bedevere-bot commented Aug 25, 2022

GH-96282 is a backport of this pull request to the 3.11 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 25, 2022
…in Windows build scripts. (pythonGH-31803)

(cherry picked from commit 1288097)

Co-authored-by: conioh <10606081+conioh@users.noreply.github.com>
zooba pushed a commit to zooba/cpython that referenced this pull request Aug 25, 2022
miss-islington added a commit that referenced this pull request Aug 25, 2022
…in Windows build scripts. (GH-31803)

(cherry picked from commit 1288097)

Co-authored-by: conioh <10606081+conioh@users.noreply.github.com>
zooba added a commit that referenced this pull request Aug 25, 2022
…in Windows build scripts. (GH-31803)

Co-authored-by: conioh <10606081+conioh@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants