diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2007-04-09 18:49:02 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2007-04-09 18:49:02 -0400 |
commit | 438b951a5b5cd50d14f8c9a504f06ea1973a9cb7 (patch) | |
tree | 6454e4c6b5db516ce9631d030a8001c96dad48c9 /util/make_release.py | |
parent | d54b8b73ed4185caadc9882d51c01fdc889035a0 (diff) | |
download | gem5-438b951a5b5cd50d14f8c9a504f06ea1973a9cb7.tar.xz |
add code to whack the intel gbe model from the relase.... it's not tested and it's configuration is a hack
--HG--
extra : convert_revision : b65cd6d9b45a67ba64ea398cf0c0ce28f91c7e27
Diffstat (limited to 'util/make_release.py')
-rwxr-xr-x | util/make_release.py | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/util/make_release.py b/util/make_release.py index f07bafe3b..8d69614dc 100755 --- a/util/make_release.py +++ b/util/make_release.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (c) 2006 The Regents of The University of Michigan +# Copyright (c) 2006-2007 The Regents of The University of Michigan # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -127,6 +127,7 @@ rmtree(release_dir, 'configs/test') rmtree(release_dir, 'configs/splash2') rmtree(release_dir, 'tests/long/*/ref') rmtree(release_dir, 'tests/old') +rmtree(release_dir, 'src/dev/i8*') # get rid of some of private scripts remove(release_dir, 'util/chgcopyright') @@ -143,6 +144,20 @@ for line in inscript: outscript.write(line) outscript.close() +# fix up the SConscript to deal with files we've removed +mem_expr = re.compile('.*i8254xGBe.*') +inscript = file(joinpath(release_dir, 'src', 'dev', 'SConscript'), 'r').readlines() +outscript = file(joinpath(release_dir, 'src', 'dev', 'SConscript'), 'w') +for line in inscript: + if mem_expr.match(line): + continue + + outscript.write(line) +outscript.close() + + + + benches = [ 'bzip2', 'eon', 'gzip', 'mcf', 'parser', 'perlbmk', 'twolf', 'vortex' ] for bench in benches: |