Re: [PATCH v3 06/32] selftests: harness: Remove dependency on libatomic

2025-04-18 Thread Muhammad Usama Anjum
On 4/11/25 2:00 PM, Thomas Weißschuh wrote: > __sync_bool_compare_and_swap() is deprecated and requires libatomic on > GCC. Compiler toolchains don't necessarily have libatomic available, so > avoid this requirement by using atomics that don't need libatomic. > > Signed-off-by: Thomas Weißschuh R

[PATCH v3 06/32] selftests: harness: Remove dependency on libatomic

2025-04-11 Thread Thomas Weißschuh
__sync_bool_compare_and_swap() is deprecated and requires libatomic on GCC. Compiler toolchains don't necessarily have libatomic available, so avoid this requirement by using atomics that don't need libatomic. Signed-off-by: Thomas Weißschuh --- tools/testing/selftests/kselftest_harness.h | 4 ++