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

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: review 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
« no previous file with comments | « 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 #!/usr/bin/env python2
2
3 from collections import namedtuple
4
5 TargetInfo = namedtuple('TargetInfo',
6 ['target', 'triple', 'llc_flags', 'ld_emu'])
7
8 X8632Target = TargetInfo(target='x8632',
9 triple='i686-none-linux',
10 llc_flags=['-mcpu=pentium4m'],
11 ld_emu='elf_i386_nacl')
12
13 X8664Target = TargetInfo(target='x8664',
14 triple='x86_64-none-linux',
15 llc_flags=['-mcpu=x86-64'],
16 ld_emu='elf_x86_64_nacl')
17
18 ARM32Target = TargetInfo(target='arm32',
19 triple='armv7a-none-linux-gnueabihf',
20 llc_flags=['-mcpu=cortex-a9',
21 '-float-abi=hard',
22 '-mattr=+neon'],
23 ld_emu='armelf_nacl')
24
25
26 def ConvertTripleToNaCl(nonsfi_triple):
27 return nonsfi_triple.replace('linux', 'nacl')
OLDNEW
« no previous file with comments | « pydir/crosstest_generator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698