diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2011-01-07 21:50:13 -0800 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2011-01-07 21:50:13 -0800 |
commit | d650f4138eaa68c856d0879e39a78f66d205b017 (patch) | |
tree | 257321d1adfe8559eca2f36c6f8c0a1319e2e7af /src/arch/isa_parser.py | |
parent | d36cc62c117c2ec37dd99b1e55f3663f4af65b8d (diff) | |
download | gem5-d650f4138eaa68c856d0879e39a78f66d205b017.tar.xz |
scons: show sources and targets when building, and colorize output.
I like the brevity of Ali's recent change, but the ambiguity of
sometimes showing the source and sometimes the target is a little
confusing. This patch makes scons typically list all sources and
all targets for each action, with the common path prefix factored
out for brevity. It's a little more verbose now but also more
informative.
Somehow Ali talked me into adding colors too, which is a whole
'nother story.
Diffstat (limited to 'src/arch/isa_parser.py')
-rwxr-xr-x | src/arch/isa_parser.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/arch/isa_parser.py b/src/arch/isa_parser.py index 2a03f1968..00bfd33d2 100755 --- a/src/arch/isa_parser.py +++ b/src/arch/isa_parser.py @@ -1980,13 +1980,11 @@ StaticInstPtr old_contents = f.read() f.close() if contents != old_contents: - print 'Updating', file os.remove(file) # in case it's write-protected update = True else: print 'File', file, 'is unchanged' else: - print ' [GENERATE]', file update = True if update: f = open(file, 'w') |