Re: [Intel-gfx] [PATCH i-g-t 1/4] tests: add libatomic dependency

Arkadiusz Hiler
2019-06-06T07:19:48Z

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@collabora.com>

Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org