Skip to contentSkip to conversation

benchmark/: fix gem_exec_nop complie error on android

PATCH Superseded Derek Morton 1 participant 1 message Jul 23, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 benchmark/: fix gem_exec_nop complie error on android

There are two versions of gem_exec_nop.c in benchmarks and tests which causes the build system to have two build modules with the same name.
This patch renames benchmarks/gem_exec_nop.c to benchmarks/gem_exec_nop_benchmark.c using the existing gem_userptr_benchmark.c as a naming convention.

---
 benchmarks/Makefile.sources         |   6 +-
 benchmarks/gem_exec_nop.c           | 153 ------------------------------------
 benchmarks/gem_exec_nop_benchmark.c | 153 ++++++++++++++++++++++++++++++++++++
 3 files changed, 158 insertions(+), 154 deletions(-)
 delete mode 100644 benchmarks/gem_exec_nop.c
 create mode 100644 benchmarks/gem_exec_nop_benchmark.c
benchmarks/Makefile.sources +5 -1
index d8a7440..ab2dc89 100644
@@ -1,7 +1,11 @@
+# If you copy a test to benckmarks, rename it _benchmark
+# The andriod build will fail when trying to build multiple binaries with
+# the same name.
+
 bin_PROGRAMS =                          \
 	intel_upload_blit_large         \
 	intel_upload_blit_large_gtt     \
 	intel_upload_blit_large_map     \
 	intel_upload_blit_small		\
-	gem_exec_nop			\
+	gem_exec_nop_benchmark		\
 	gem_userptr_benchmark
benchmarks/gem_exec_nop.c deleted +0 -153

153 lines not on this page · raw message

benchmarks/gem_exec_nop_benchmark.c new file +153 -0

153 lines not on this page · raw message

Signature · 6 lines
1.9.1

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx