Skip to content

BLD: better fix for clang / ARM compiles #28246

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

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

matthew-brett
Copy link
Contributor

@matthew-brett matthew-brett commented Jan 28, 2025

A more principled fix for the WoA build than #28235.

The _M_IX86 and _M_AMD64 macros defined for x86 and x64 builds respectively.

_M_AMD64 defined for AMD and x86_64 installs.

See:
https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-170

The `_M_IX86` and `_M_AMD64` macros defined for Intel installs.

`_M_AMD64` defined for AMD and x86_64 installs.

See:
https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-170
@github-actions github-actions bot added the 36 - Build Build related PR label Jan 28, 2025
@charris charris added the 09 - Backport-Candidate PRs tagged should be backported label Jan 29, 2025
@charris charris merged commit 4cffb9d into numpy:main Jan 29, 2025
68 checks passed
@charris
Copy link
Member

charris commented Jan 29, 2025

Thank Matthew.

@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
36 - Build Build related PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants