Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: pydir/szbuild_spec2k.py

Issue 1537703002: Subzero. x8664. Resurrects the Target. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addresses comments. Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/usr/bin/env python2 1 #!/usr/bin/env python2
2 2
3 import argparse 3 import argparse
4 import os 4 import os
5 import sys 5 import sys
6 6
7 import szbuild 7 import szbuild
8 8
9 from utils import FindBaseNaCl, shellcmd 9 from utils import FindBaseNaCl, shellcmd
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 '{name}.opt.stripped.pexe' 56 '{name}.opt.stripped.pexe'
57 ).format(root=nacl_root, comp=comp, name=name), 57 ).format(root=nacl_root, comp=comp, name=name),
58 ('{root}/tests/spec2k/{comp}/' + 58 ('{root}/tests/spec2k/{comp}/' +
59 '{name}.{suffix}' 59 '{name}.{suffix}'
60 ).format(root=nacl_root, comp=comp, name=name, 60 ).format(root=nacl_root, comp=comp, name=name,
61 suffix=suffix)) 61 suffix=suffix))
62 if args.run: 62 if args.run:
63 os.chdir('{root}/tests/spec2k'.format(root=FindBaseNaCl())) 63 os.chdir('{root}/tests/spec2k'.format(root=FindBaseNaCl()))
64 setup = 'SetupGcc' + { 64 setup = 'SetupGcc' + {
65 'arm32': 'Arm', 65 'arm32': 'Arm',
66 'x8632': 'X8632'}[args.target] + 'Opt' 66 'x8632': 'X8632',
67 'x8664': 'X8664'}[args.target] + 'Opt'
67 shellcmd(['./run_all.sh', 68 shellcmd(['./run_all.sh',
68 'RunTimedBenchmarks', 69 'RunTimedBenchmarks',
69 setup, 70 setup,
70 'train'] + args.comps) 71 'train'] + args.comps)
71 72
72 if __name__ == '__main__': 73 if __name__ == '__main__':
73 main() 74 main()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698