diff options
author | Siddhesh Poyarekar <sid@reserved-bit.com> | 2016-04-20 10:23:28 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <sid@reserved-bit.com> | 2016-04-20 10:23:28 +0530 |
commit | a00d3f4a8c19547b4050889965d9a2a93429ae51 (patch) | |
tree | 1e796b1032343a4f7ddb947f4ed90c8daf0180b0 /Makefile.in | |
parent | 6f8222a1c52a9e577925b90d16b95be10ef50596 (diff) | |
download | glibc-a00d3f4a8c19547b4050889965d9a2a93429ae51.tar glibc-a00d3f4a8c19547b4050889965d9a2a93429ae51.tar.gz glibc-a00d3f4a8c19547b4050889965d9a2a93429ae51.tar.bz2 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.in | 2 |
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. |