summary refs log tree commit diff
path: root/Makefile.in
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <sid@reserved-bit.com>2016-04-20 10:23:28 +0530
committerSiddhesh Poyarekar <sid@reserved-bit.com>2016-04-20 10:23:28 +0530
commita00d3f4a8c19547b4050889965d9a2a93429ae51 (patch)
tree1e796b1032343a4f7ddb947f4ed90c8daf0180b0 /Makefile.in
parent6f8222a1c52a9e577925b90d16b95be10ef50596 (diff)
downloadglibc-a00d3f4a8c19547b4050889965d9a2a93429ae51.tar.gz
glibc-a00d3f4a8c19547b4050889965d9a2a93429ae51.tar.xz
glibc-a00d3f4a8c19547b4050889965d9a2a93429ae51.zip
New make target to only build benchmark binaries
For situations where we are cross-building or where we want to avoid
building on the target system, we want a way to only build benchmarks
and then copy them over to the target system to run them.  I have also
added a simple enhancement for the 'bench' target where all benchmark
binaries are built and then the benchmarks executed.

Tested on arm.

	Makefile.in (bench-build): New target.
	Rules (PHONY): Add bench-build target.
	benchtests/Makefile (bench): Depend on bench-build.
	(bench-build): New target.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 710ce7e2c2..3fe9e73645 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -12,7 +12,7 @@ install:
 	LC_ALL=C; export LC_ALL; \
 	$(MAKE) -r PARALLELMFLAGS="$(PARALLELMFLAGS)" -C $(srcdir) objdir=`pwd` $@
 
-bench bench-clean:
+bench bench-clean bench-build:
 	$(MAKE) -C $(srcdir)/benchtests $(PARALLELMFLAGS) objdir=`pwd` $@
 
 # Convenience target to rebuild ULPs for all math tests.