changeset 5cbb0a68dce1 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=5cbb0a68dce1
description:
enable x86 workloads on se.py
diffstat:
configs/example/se.py | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (22 lines):
diff -r f596091c854d -r 5cbb0a68dce1 configs/example/se.py
--- a/configs/example/se.py Sat Mar 19 21:12:59 2011 -0700
+++ b/configs/example/se.py Sat Mar 19 21:13:02 2011 -0700
@@ -87,13 +87,13 @@
for app in apps:
try:
- if buildEnv['TARGET_ISA'] != 'alpha':
- print >>sys.stderr, "Simpoints code only works for Alpha ISA
at this time"
- sys.exit(1)
- exec("workload = %s('alpha', 'tru64', 'ref')" % app)
+ if buildEnv['TARGET_ISA'] == 'alpha':
+ exec("workload = %s('alpha', 'tru64', 'ref')" % app)
+ else:
+ exec("workload = %s(buildEnv['TARGET_ISA'], 'linux', 'ref')" %
app)
multiprocesses.append(workload.makeLiveProcess())
except:
- print >>sys.stderr, "Unable to find workload for %s" % app
+ print >>sys.stderr, "Unable to find workload for %s: %s" %
(buildEnv['TARGET_ISA'], app)
sys.exit(1)
else:
process = LiveProcess()
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev