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

Side by Side Diff: pydir/targets.py

Issue 1160873006: Set up crosstest to run simple loop in Om1 on ARM (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: xyz Created 5 years, 6 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
« pydir/crosstest_generator.py ('K') | « pydir/crosstest_generator.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1
Jim Stichnoth 2015/06/17 01:14:10 prepend the shebang line?
jvoung (off chromium) 2015/06/17 17:07:53 Done.
2 from collections import namedtuple
3
4 TargetInfo = namedtuple('TargetInfo',
5 ['target', 'triple', 'llc_flags', 'ld_emu'])
6
7 X8632Target = TargetInfo(target='x8632',
8 triple='i686-none-linux',
9 llc_flags=['-mcpu=pentium4m'],
10 ld_emu='elf_i386_nacl')
11
12 X8664Target = TargetInfo(target='x8664',
13 triple='x86_64-none-linux',
14 llc_flags=['-mcpu=x86-64'],
15 ld_emu='elf_x86_64_nacl')
16
17 ARM32Target = TargetInfo(target='arm32',
18 triple='armv7a-none-linux-gnueabihf',
19 llc_flags=['-mcpu=cortex-a9',
20 '-float-abi=hard',
21 '-mattr=+neon'],
22 ld_emu='armelf_nacl')
23
24
25 def ConvertTripleToNaCl(nonsfi_triple):
26 return nonsfi_triple.replace('linux', 'nacl')
OLDNEW
« pydir/crosstest_generator.py ('K') | « pydir/crosstest_generator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698