[igt-dev] [PATCH i-g-t 1/4] tests: add libatomic dependency

Arkadiusz Hiler arkadiusz.hiler at intel.com
Thu Jun 6 07:19:48 UTC 2019


On Mon, Jun 03, 2019 at 12:54:47PM +0100, Guillaume Tucker wrote:
> Add dependency to libatomic in order to be able to use the __atomic_*
> functions instead of the older __sync_* ones.  This is to enable
> atomic operations on a wider number of architectures including MIPS.
> 
> Signed-off-by: Guillaume Tucker <guillaume.tucker at collabora.com>

Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler at intel.com>

This points out that we need some cleanups in tests/meson.build, as it's
getting a bit messy with some of the test using igt_desp and others
test_deps, but that's out of the sope of this series.

Seems like for autotools we already have it:

% ag -G Makefile atomic
tests/Makefile.am
93:gem_create_LDADD = $(LDADD) -lpthread -latomic
125:sw_sync_LDADD = $(LDADD) -latomic


More information about the igt-dev mailing list