Config: make option ruby available always

This commit is contained in:
Nilay Vaish 2012-03-01 11:36:59 -06:00
parent e5ac647fc9
commit e11847bfa9
2 changed files with 3 additions and 4 deletions

View file

@ -48,6 +48,7 @@ parser.add_option("--l1i_assoc", type="int", default=2)
parser.add_option("--l2_assoc", type="int", default=8)
parser.add_option("--l3_assoc", type="int", default=16)
parser.add_option("--cacheline_size", type="int", default=64)
parser.add_option("--ruby", action="store_true")
# Run duration options
parser.add_option("-m", "--maxtick", type="int", default=m5.MaxTick,

View file

@ -82,8 +82,6 @@ parser.add_option("--errout", default="", help="Redirect stderr to a file.")
execfile(os.path.join(config_root, "common", "Options.py"))
if buildEnv['PROTOCOL'] != 'None':
parser.add_option("--ruby", action="store_true")
if '--ruby' in sys.argv:
Ruby.define_options(parser)