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

[WIP] Allow forcing host architeture #2

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

Blackhex
Copy link
Member

@Blackhex Blackhex commented Jan 20, 2023

This change allows forcing host architecture for the compilation. When running vcbuild.bat inside x64 Python shell on Arm64 marchine, Python always overwrites PROCESSOR_ARCHITECTURE environment variable with AMD64.

Contributes to https://github.com/dotnet-microsoft/ARM-on-Windows-Ecosystem/issues/202

@Blackhex Blackhex self-assigned this Jan 20, 2023
Copy link
Member

@eukarpov eukarpov left a comment

Choose a reason for hiding this comment

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

maybe python should we fixed instead then?

@Blackhex
Copy link
Member Author

Blackhex commented Jan 25, 2023

Yeah, It would require further investigation on how the PROCESSOR_ARCHITECTURE=AMD64 gets to the x64 Conda Python interpreter  running on Arm64 machine enviroment as it does not seem to be set in CPython codebase. So far we can consider this PR as a temporary workaround.

pimterry and others added 4 commits January 30, 2023 11:27
Previously persistence was completed disabled if you removed this
header, which is not correct for modern HTTP, where the header is
optional and all connections should persist by default regardless.

PR-URL: nodejs#46331
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Minwoo Jung <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ricky Zhou <[email protected]>
@Blackhex Blackhex marked this pull request as draft February 14, 2023 15:32
@Blackhex Blackhex changed the title Allow forcing host architeture [WIP] Allow forcing host architeture Feb 14, 2023
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.

3 participants