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

Side by Side Diff: pydir/targets.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 5 years 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 from collections import namedtuple 3 from collections import namedtuple
4 import glob 4 import glob
5 5
6 6
7 # Why have 'cross_headers': 7 # Why have 'cross_headers':
8 # For some reason, clang doesn't know how to find some of the libstdc++ 8 # For some reason, clang doesn't know how to find some of the libstdc++
9 # headers (c++config.h). Manually add in one of the paths: 9 # headers (c++config.h). Manually add in one of the paths:
10 # https://llvm.org/bugs/show_bug.cgi?id=22937 10 # https://llvm.org/bugs/show_bug.cgi?id=22937
(...skipping 11 matching lines...) Expand all
22 22
23 X8632Target = TargetInfo(target='x8632', 23 X8632Target = TargetInfo(target='x8632',
24 compiler_arch='x8632', 24 compiler_arch='x8632',
25 triple='i686-none-linux', 25 triple='i686-none-linux',
26 llc_flags=['-mcpu=pentium4m'], 26 llc_flags=['-mcpu=pentium4m'],
27 ld_emu='elf_i386_nacl', 27 ld_emu='elf_i386_nacl',
28 cross_headers=[]) 28 cross_headers=[])
29 29
30 X8664Target = TargetInfo(target='x8664', 30 X8664Target = TargetInfo(target='x8664',
31 compiler_arch='x8664', 31 compiler_arch='x8664',
32 triple='x86_64-none-linux', 32 triple='x86_64-none-linux-gnux32',
33 llc_flags=['-mcpu=x86-64'], 33 llc_flags=['-mcpu=x86-64'],
34 ld_emu='elf_x86_64_nacl', 34 ld_emu='elf32_x86_64_nacl',
35 cross_headers=[]) 35 cross_headers=[])
36 36
37 ARM32Target = TargetInfo(target='arm32', 37 ARM32Target = TargetInfo(target='arm32',
38 compiler_arch='armv7', 38 compiler_arch='armv7',
39 triple='armv7a-none-linux-gnueabihf', 39 triple='armv7a-none-linux-gnueabihf',
40 llc_flags=['-mcpu=cortex-a9', 40 llc_flags=['-mcpu=cortex-a9',
41 '-float-abi=hard', 41 '-float-abi=hard',
42 '-mattr=+neon'], 42 '-mattr=+neon'],
43 ld_emu='armelf_nacl', 43 ld_emu='armelf_nacl',
44 cross_headers=['-isystem', FindARMCrossInclude()]) 44 cross_headers=['-isystem', FindARMCrossInclude()])
45 45
46 def ConvertTripleToNaCl(nonsfi_triple): 46 def ConvertTripleToNaCl(nonsfi_triple):
47 return nonsfi_triple.replace('linux', 'nacl') 47 return nonsfi_triple.replace('linux', 'nacl')
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698