This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.17-529-gacb4325


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  acb4325fc72d5eeecf3cf3fe63c599e582bb3bd0 (commit)
      from  477925062fd2fb720c54a17d15f512247860e34a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=acb4325fc72d5eeecf3cf3fe63c599e582bb3bd0

commit acb4325fc72d5eeecf3cf3fe63c599e582bb3bd0
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Mon Apr 15 11:17:01 2013 +0530

    Rebuild benchmark sources when Makefile is updated
    
    Benchmark programs are generated using parameters from the Makefile,
    so it is necessary to rebuild them whenever the parameters in the
    Makefile are updated.  Hence, added a dependency for the generated C
    source on the Makefile so that it gets regenerated when the Makefile
    is updated.

diff --git a/ChangeLog b/ChangeLog
index 96be3ba..b80865e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+	* benchtests/Rules (bench-deps): Collect dependencies into a
+	single variable.  Add Makefile to dependencies.
+	($(objpfx)bench-%.c): Depend on bench-deps.
+
 2013-04-12  Roland McGrath  <roland@hack.frob.com>
 	    Xavier Roche  <roche+kml2@exalead.com>
 
diff --git a/benchtests/Makefile b/benchtests/Makefile
index 86d5905..3e794d7 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -114,6 +114,8 @@ include ../Rules
 
 binaries-bench := $(addprefix $(objpfx)bench-,$(bench))
 
+bench-deps := bench-skeleton.c Makefile
+
 run-bench = $(test-wrapper-env) \
 	    GCONV_PATH=$(common-objpfx)iconvdata LC_ALL=C \
 	    $($*-ENV) $(rtld-prefix) $${run}
@@ -133,7 +135,7 @@ $(binaries-bench): %: %.o \
   $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
 	$(+link)
 
-$(objpfx)bench-%.c: %-inputs bench-skeleton.c
+$(objpfx)bench-%.c: %-inputs $(bench-deps)
 	{ if [ -n "$($*-INCLUDE)" ]; then \
 	  cat $($*-INCLUDE); \
 	fi; \

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog           |    6 ++++++
 benchtests/Makefile |    4 +++-
 2 files changed, 9 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]