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

BUG: Add cpp atomic support #28234

Merged
merged 2 commits into from
Jan 27, 2025
Merged

Conversation

ngoldbaum
Copy link
Member

Fixes #28106

This builds and passes the test on my Mac but let's see what the full CI says.

The code I'm adding is cribbed from CPython's pyatomic.h and pyatomic_std.h.

@charris
Copy link
Member

charris commented Jan 27, 2025

Should we backport this?

@ngoldbaum ngoldbaum added the 09 - Backport-Candidate PRs tagged should be backported label Jan 27, 2025
@matthew-brett
Copy link
Contributor

matthew-brett commented Jan 27, 2025

Nice - thanks! - with the fix at #28235, this allows the Numpy build to work without failure on WoA, with clang-cl.

@ngoldbaum
Copy link
Member Author

ngoldbaum commented Jan 27, 2025

I think this should be safe to backport.

@charris charris merged commit 32a6b53 into numpy:main Jan 27, 2025
67 checks passed
@charris
Copy link
Member

charris commented Jan 27, 2025

Thanks Nathan.

charris pushed a commit to charris/numpy that referenced this pull request Jan 27, 2025
* BUG: add C++ support to npy_atomic.h

* MAINT: delete outdated comment
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jan 27, 2025
charris added a commit that referenced this pull request Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Building NumPy from source for Windows on ARM using Clang-cl compiler
3 participants