Skip to content

[3.8] bpo-37415: Fix stdatomic.h header check for ICC compiler (GH-16717)#16893

Merged
miss-islington merged 1 commit intopython:3.8from
miss-islington:backport-028f734-3.8
Oct 22, 2019
Merged

[3.8] bpo-37415: Fix stdatomic.h header check for ICC compiler (GH-16717)#16893
miss-islington merged 1 commit intopython:3.8from
miss-islington:backport-028f734-3.8

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Oct 22, 2019

Fix stdatomic.h header check for ICC compiler: the ICC implementation
lacks atomic_uintptr_t type which is needed by Python.

Test:

  • atomic_int and atomic_uintptr_t types
  • atomic_load_explicit() and atomic_store_explicit()
  • memory_order_relaxed and memory_order_seq_cst constants

But don't test ATOMIC_VAR_INIT(): it's not used in Python.
(cherry picked from commit 028f734)

Co-authored-by: Victor Stinner [email protected]

https://bugs.python.org/issue37415

)

Fix stdatomic.h header check for ICC compiler: the ICC implementation
lacks atomic_uintptr_t type which is needed by Python.

Test:

* atomic_int and atomic_uintptr_t types
* atomic_load_explicit() and atomic_store_explicit()
* memory_order_relaxed and memory_order_seq_cst constants

But don't test ATOMIC_VAR_INIT(): it's not used in Python.
(cherry picked from commit 028f734)

Co-authored-by: Victor Stinner <[email protected]>
Copy link
Copy Markdown
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

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

LGTM, good bot.

@miss-islington
Copy link
Copy Markdown
Contributor Author

@vstinner: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit dbcea39 into python:3.8 Oct 22, 2019
@miss-islington miss-islington deleted the backport-028f734-3.8 branch October 22, 2019 20:19
@miss-islington
Copy link
Copy Markdown
Contributor Author

@vstinner: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington
Copy link
Copy Markdown
Contributor Author

@vstinner: Status check is done, and it's a success ✅ .

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.

4 participants