changeset d59e40b074c6 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=d59e40b074c6
description:
        scons: Avoid implicit command dependencies

        Work around a bug in scons that causes the param wrappers being
        compiled twice. The easiest way for us to do so is to tell scons to
        ignore implicit command dependencies.

diffstat:

 SConstruct |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r 3bfbaefa3844 -r d59e40b074c6 SConstruct
--- a/SConstruct        Fri Dec 19 15:32:34 2014 -0600
+++ b/SConstruct        Tue Feb 03 14:25:43 2015 -0500
@@ -221,7 +221,10 @@
             any([key.startswith(prefix) for prefix in use_prefixes]):
         use_env[key] = val
 
-main = Environment(ENV=use_env)
+# Tell scons to avoid implicit command dependencies to avoid issues
+# with the param wrappes being compiled twice (see
+# http://scons.tigris.org/issues/show_bug.cgi?id=2811)
+main = Environment(ENV=use_env, IMPLICIT_COMMAND_DEPENDENCIES=0)
 main.Decider('MD5-timestamp')
 main.root = Dir(".")         # The current directory (where this file lives).
 main.srcdir = Dir("src")     # The source directory
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to