From a00d3f4a8c19547b4050889965d9a2a93429ae51 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Wed, 20 Apr 2016 10:23:28 +0530 Subject: 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. --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.in') 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. -- cgit 1.4.1