[igt-dev] [PATCH i-g-t 2/2] benchmarks/meson: Stop renaming benchmarks

Arkadiusz Hiler arkadiusz.hiler at intel.com
Tue Feb 19 10:51:43 UTC 2019


Meson 0.46.0 fixes the issue that forced us to do the renaming.

Cc: Daniel Vetter <daniel at ffwll.ch>
Cc: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler at intel.com>
---
 benchmarks/meson.build | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/benchmarks/meson.build b/benchmarks/meson.build
index baf1243d..397f3b8d 100644
--- a/benchmarks/meson.build
+++ b/benchmarks/meson.build
@@ -30,15 +30,13 @@ endif
 benchmarksdir = join_paths(libexecdir, 'benchmarks')
 
 foreach prog : benchmark_progs
-	# FIXME meson doesn't like binaries with the same name
-	# meanwhile just suffix with _bench
-	executable(prog + '_bench', prog + '.c',
+	executable(prog, prog + '.c',
 		   install : true,
 		   install_dir : benchmarksdir,
 		   dependencies : igt_deps)
 endforeach
 
-executable('gem_wsim_bench', 'gem_wsim.c',
+executable('gem_wsim', 'gem_wsim.c',
 	   install : true,
 	   install_dir : benchmarksdir,
 	   dependencies : igt_deps + [ lib_igt_perf ])
-- 
2.20.1



More information about the igt-dev mailing list