]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-37415: Fix stdatomic.h header check for ICC compiler (GH-16717)
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 22 Oct 2019 20:19:32 +0000 (13:19 -0700)
committerGitHub <noreply@github.com>
Tue, 22 Oct 2019 20:19:32 +0000 (13:19 -0700)
commitdbcea39ba713cc5b31fa1a243b16a0128c231c98
tree3efd644282febc16eb4db612a8e0ac1c32903e3f
parent2f8d4f08e2fa62cd5c3f6f824be3e7513ff87e07
bpo-37415: Fix stdatomic.h header check for ICC compiler (GH-16717)

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 028f7349a0f6eaea0fec31becb587fcdf6e3cb28)

Co-authored-by: Victor Stinner <vstinner@python.org>
Misc/NEWS.d/next/Build/2019-10-11-15-32-58.bpo-37415.D9RXrq.rst [new file with mode: 0644]
configure
configure.ac
pyconfig.h.in