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

Side by Side Diff: tools/toolchain_tester/toolchain_config.py

Issue 6825060: Rename PNaCl (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 8 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 | Annotate | Revision Log
« tests/pnacl_ld_example/Makefile.pnacl ('K') | « tools/llvm/utman.sh ('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
1 # Copyright 2008 The Native Client Authors. All rights reserved. 1 # Copyright 2008 The Native Client Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can 2 # Use of this source code is governed by a BSD-style license that can
3 # be found in the LICENSE file. 3 # be found in the LICENSE file.
4 4
5 # 5 #
6 # Config file for various nacl compilation scenarios 6 # Config file for various nacl compilation scenarios
7 # 7 #
8 import os 8 import os
9 import sys 9 import sys
10 10
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 commands=COMMANDS_nacl_gcc, 161 commands=COMMANDS_nacl_gcc,
162 tools_needed=[NACL_GCC_X64, SEL_LDR_X64], 162 tools_needed=[NACL_GCC_X64, SEL_LDR_X64],
163 CC = NACL_GCC_X64, 163 CC = NACL_GCC_X64,
164 SEL_LDR = SEL_LDR_X64, 164 SEL_LDR = SEL_LDR_X64,
165 CFLAGS = '-O9 -static ' + GLOBAL_CFLAGS) 165 CFLAGS = '-O9 -static ' + GLOBAL_CFLAGS)
166 166
167 167
168 ###################################################################### 168 ######################################################################
169 # PNACL + SEL_LDR [ARM] 169 # PNACL + SEL_LDR [ARM]
170 ###################################################################### 170 ######################################################################
171 DRIVER_PATH = 'toolchain/linux_arm-untrusted/bin' 171 DRIVER_PATH = 'toolchain/pnacl_linux_x86_64/bin'
172 172
173 PNACL_LLVM_GCC = DRIVER_PATH + '/pnacl-gcc' 173 PNACL_LLVM_GCC = DRIVER_PATH + '/pnacl-gcc'
174 174
175 PNACL_LD = DRIVER_PATH + '/pnacl-ld' 175 PNACL_LD = DRIVER_PATH + '/pnacl-ld'
176 176
177 PNACL_LIB_DIR = 'toolchain/linux_arm-untrusted/libs-bitcode/' 177 PNACL_LIB_DIR = 'toolchain/pnacl_linux_x86_64/libs-bitcode/'
jasonwkim 2011/04/12 00:19:07 Can we turn this in to a single var that is interp
178 178
179 COMMANDS_llvm_pnacl_arm = [ 179 COMMANDS_llvm_pnacl_arm = [
180 ('compile-bc', 180 ('compile-bc',
181 '%(CC)s %(src)s %(CFLAGS)s -c -o %(tmp)s.bc', 181 '%(CC)s %(src)s %(CFLAGS)s -c -o %(tmp)s.bc',
182 ), 182 ),
183 ('translate-arm', 183 ('translate-arm',
184 '%(LD)s %(tmp)s.bc -o %(tmp)s.nexe -L%(LIB_DIR)s -lc -lnacl -lnosys', 184 '%(LD)s %(tmp)s.bc -o %(tmp)s.nexe -L%(LIB_DIR)s -lc -lnacl -lnosys',
185 ), 185 ),
186 ('qemu-sel_ldr', 186 ('qemu-sel_ldr',
187 '%(EMU)s run %(SEL_LDR)s -Q %(tmp)s.nexe', 187 '%(EMU)s run %(SEL_LDR)s -Q %(tmp)s.nexe',
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 247
248 TOOLCHAIN_CONFIGS['llvm_pnacl_x8664_O0'] = ToolchainConfig( 248 TOOLCHAIN_CONFIGS['llvm_pnacl_x8664_O0'] = ToolchainConfig(
249 desc='pnacl llvm [x8664]', 249 desc='pnacl llvm [x8664]',
250 commands=COMMANDS_llvm_pnacl_x86_O0, 250 commands=COMMANDS_llvm_pnacl_x86_O0,
251 tools_needed=[PNACL_LLVM_GCC, PNACL_LD, SEL_LDR_X64], 251 tools_needed=[PNACL_LLVM_GCC, PNACL_LD, SEL_LDR_X64],
252 CC = PNACL_LLVM_GCC, 252 CC = PNACL_LLVM_GCC,
253 LD = PNACL_LD + ' -arch x86-64', 253 LD = PNACL_LD + ' -arch x86-64',
254 SEL_LDR = SEL_LDR_X64, 254 SEL_LDR = SEL_LDR_X64,
255 LIB_DIR = PNACL_LIB_DIR, 255 LIB_DIR = PNACL_LIB_DIR,
256 CFLAGS = '-O0 -static ' + GLOBAL_CFLAGS) 256 CFLAGS = '-O0 -static ' + GLOBAL_CFLAGS)
OLDNEW
« tests/pnacl_ld_example/Makefile.pnacl ('K') | « tools/llvm/utman.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698