All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 1/4] tests: add libatomic dependency
@ 2019-06-03 11:54 ` Guillaume Tucker
  0 siblings, 0 replies; 28+ messages in thread
From: Guillaume Tucker @ 2019-06-03 11:54 UTC (permalink / raw)
  To: Arkadiusz Hiler, Petri Latvala; +Cc: igt-dev, intel-gfx

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>
---
 meson.build       | 1 +
 tests/meson.build | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 6268c58d3634..4e5bb323fa49 100644
--- a/meson.build
+++ b/meson.build
@@ -179,6 +179,7 @@ math = cc.find_library('m')
 realtime = cc.find_library('rt')
 dlsym = cc.find_library('dl')
 zlib = cc.find_library('z')
+libatomic = cc.find_library('atomic')
 
 if cc.has_header('linux/kd.h')
 	config.set('HAVE_LINUX_KD_H', 1)
diff --git a/tests/meson.build b/tests/meson.build
index 806766e51667..6877ccd59235 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -233,7 +233,7 @@ i915_progs = [
 	'i915_suspend',
 ]
 
-test_deps = [ igt_deps ]
+test_deps = [ igt_deps, libatomic ]
 
 if libdrm_nouveau.found()
 	test_progs += [
-- 
2.20.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2019-06-13 13:03 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-03 11:54 [PATCH i-g-t 1/4] tests: add libatomic dependency Guillaume Tucker
2019-06-03 11:54 ` [igt-dev] " Guillaume Tucker
2019-06-03 11:54 ` [PATCH i-g-t 2/4] gitlab-ci: add libatomic to Fedora docker image Guillaume Tucker
2019-06-03 11:54   ` [igt-dev] " Guillaume Tucker
2019-06-06  7:21   ` Arkadiusz Hiler
2019-06-06  7:21     ` [igt-dev] " Arkadiusz Hiler
2019-06-06  7:26     ` Ser, Simon
2019-06-06  7:26       ` Ser, Simon
2019-06-13 12:56       ` Guillaume Tucker
2019-06-13 12:56         ` [Intel-gfx] " Guillaume Tucker
2019-06-03 11:54 ` [PATCH i-g-t 3/4] i915/gem_create: use __atomic_* instead of __sync_* Guillaume Tucker
2019-06-03 11:54   ` [igt-dev] " Guillaume Tucker
2019-06-06  7:20   ` Ser, Simon
2019-06-06  7:20     ` [Intel-gfx] " Ser, Simon
2019-06-13 13:03     ` Guillaume Tucker
2019-06-13 13:03       ` Guillaume Tucker
2019-06-03 11:54 ` [PATCH i-g-t 4/4] tests/sw_sync: " Guillaume Tucker
2019-06-03 11:54   ` [Intel-gfx] " Guillaume Tucker
2019-06-03 13:04 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/4] tests: add libatomic dependency Patchwork
2019-06-03 16:38 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-06-06  7:18 ` [igt-dev] [PATCH i-g-t 1/4] " Ser, Simon
2019-06-06  7:18   ` Ser, Simon
2019-06-13 12:55   ` Guillaume Tucker
2019-06-13 12:55     ` Guillaume Tucker
2019-06-13 12:57     ` Ser, Simon
2019-06-13 12:57       ` Ser, Simon
2019-06-06  7:19 ` Arkadiusz Hiler
2019-06-06  7:19   ` [Intel-gfx] " Arkadiusz Hiler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.