enable x86 workloads on se.py

This commit is contained in:
Lisa Hsu 2011-03-19 21:13:02 -07:00
parent 5103c6fe88
commit 0e75e3fd5f

View file

@ -87,13 +87,13 @@ if options.bench:
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)
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()