changeset c2146e4e20cd in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=c2146e4e20cd
description:
scons: always generate sim/tags.cc
Due to insufficient build deps, the checkpoint tags might not get
updated; this commit solves this. Due to the uncommon nature of the
build target, regenerating tags.cc is a fairly clean solution. Since
SCons hashes file contents, it won't recompile anything unless a new
checkpoint upgrader is actually added.
diffstat:
src/SConscript | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r 82bb3ee706b3 -r c2146e4e20cd src/SConscript
--- a/src/SConscript Sat Feb 06 17:21:20 2016 -0800
+++ b/src/SConscript Mon Feb 08 13:39:45 2016 -0600
@@ -962,9 +962,11 @@
Source('debug/flags.cc')
# version tags
+tags = \
env.Command('sim/tags.cc', None,
MakeAction('util/cpt_upgrader.py --get-cc-file > $TARGET',
Transform("VER TAGS")))
+env.AlwaysBuild(tags)
# Embed python files. All .py files that have been indicated by a
# PySource() call in a SConscript need to be embedded into the M5
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev