From: Steve Reinhardt Date: Sat, 4 Jun 2005 22:41:43 +0000 (-0400) Subject: Get rid of vestiges of .mpy file handling. X-Git-Tag: m5_1.0_tutorial~34 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=609cacc3da432ca25d19e5a41ea11dc7e0f4b2f7;p=gem5.git Get rid of vestiges of .mpy file handling. --HG-- extra : convert_revision : 309b051be3473e2d42d3200c1af84227d01b5900 --- diff --git a/python/SConscript b/python/SConscript index 9c15c6d50..7042a58e6 100644 --- a/python/SConscript +++ b/python/SConscript @@ -182,7 +182,7 @@ EmbedMap %(name)s("%(fname)s", # base list of .py files to embed embedded_py_files = [ '../util/pbs/jobfile.py' ] -# add all .py and .mpy files in python/m5 +# add all .py files in python/m5 objpath = os.path.join(env['SRCDIR'], 'python', 'm5') for root, dirs, files in os.walk(objpath, topdown=True): for i,dir in enumerate(dirs): @@ -192,7 +192,7 @@ for root, dirs, files in os.walk(objpath, topdown=True): assert(root.startswith(objpath)) for f in files: - if f.endswith('.mpy') or f.endswith('.py'): + if f.endswith('.py'): embedded_py_files.append(os.path.join(root, f)) embedfile_hh = os.path.join(env['SRCDIR'], 'base/embedfile.hh') diff --git a/util/pbs/job.py b/util/pbs/job.py index 5eed0cd75..4ead50de9 100755 --- a/util/pbs/job.py +++ b/util/pbs/job.py @@ -134,7 +134,7 @@ if __name__ == '__main__': os.symlink(joinpath(jobdir, 'output'), 'status.out') - args = [ joinpath(basedir, 'm5'), joinpath(basedir, 'run.mpy') ] + args = [ joinpath(basedir, 'm5'), joinpath(basedir, 'run.py') ] if not len(args): sys.exit("no arguments")