projects
/
scipy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
099b67f
)
link_atomics_PR17777
author
Debian Python Team
<team+python@tracker.debian.org>
Sun, 28 Jan 2024 13:08:13 +0000
(14:08 +0100)
committer
Drew Parsons
<dparsons@debian.org>
Sun, 28 Jan 2024 13:08:13 +0000
(14:08 +0100)
===================================================================
Gbp-Pq: Name link_atomics_PR17777.patch
scipy/meson.build
patch
|
blob
|
history
diff --git
a/scipy/meson.build
b/scipy/meson.build
index 21ea04d5e68ca86b8aa0671d4ef8316e2c27bbe3..7d5cdef973e2fea572fb85b75ed178f99d7d5b59 100644
(file)
--- a/
scipy/meson.build
+++ b/
scipy/meson.build
@@
-303,8
+303,7
@@
code_non_lockfree = '''
struct {
uint64_t *v;
} x;
- return (int)__atomic_load_n(x.v, __ATOMIC_ACQUIRE) &
- (int)__atomic_add_fetch(x.v, (uint64_t)1, __ATOMIC_ACQ_REL);
+ return (int)__atomic_add_fetch(x.v, (uint64_t)1, __ATOMIC_ACQ_REL);
}
'''
if cc.get_id() != 'msvc'