Skip to content

BLD: better fix for clang / ARM compiles#28246

Merged
charris merged 1 commit intonumpy:mainfrom
matthew-brett:clang-cl-better-fix
Jan 29, 2025
Merged

BLD: better fix for clang / ARM compiles#28246
charris merged 1 commit intonumpy:mainfrom
matthew-brett:clang-cl-better-fix

Conversation

@matthew-brett
Copy link
Copy Markdown
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
@charris
Copy link
Copy Markdown
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