]> 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:17:21 +0000 (13:17 -0700)
committerGitHub <noreply@github.com>
Tue, 22 Oct 2019 20:17:21 +0000 (13:17 -0700)
commitb102e4f05278c1b06130885eba961bd0193733b4
treecd700163ab84bbd2b1426a16fa6f8c4137ea804b
parentd4dc4a58f5c124463308701c3aba985c1fe5cc0e
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