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

Side by Side Diff: toolchain_build/toolchain_build.py

Issue 11462002: toolchain_build: Force GCC build to recognize "system" limits.h (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Recipes for NativeClient toolchain packages. 6 """Recipes for NativeClient toolchain packages.
7 7
8 The real entry plumbing is in toolchain_main.py. 8 The real entry plumbing is in toolchain_main.py.
9 """ 9 """
10 10
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 'libitm', 299 'libitm',
300 'libjava', 300 'libjava',
301 'libmudflap', 301 'libmudflap',
302 'libobjc', 302 'libobjc',
303 'libquadmath', 303 'libquadmath',
304 'libssp', 304 'libssp',
305 'libstdc++-v3', 305 'libstdc++-v3',
306 ]], 306 ]],
307 'commands': ConfigureTargetPrep(target) + [ 307 'commands': ConfigureTargetPrep(target) + [
308 ConfigureGccCommand(target), 308 ConfigureGccCommand(target),
309 GccCommand(target, MAKE_PARALLEL_CMD + ['all-gcc']), 309 # gcc/Makefile's install rules ordinarily look at the
310 # installed include directory for a limits.h to decide
311 # whether the lib/gcc/.../include-fixed/limits.h header
312 # should be made to expect a libc-supplied limits.h or not.
313 # Since we're doing this build in a clean environment without
314 # any libc installed, we need to force its hand here.
315 GccCommand(target, MAKE_PARALLEL_CMD + ['all-gcc',
316 'LIMITS_H_TEST=true']),
310 # gcc/Makefile's install targets populate this directory 317 # gcc/Makefile's install targets populate this directory
311 # only if it already exists. 318 # only if it already exists.
312 command.Mkdir(os.path.join('%(output)s', target + '-nacl', 'bin'), 319 command.Mkdir(os.path.join('%(output)s', target + '-nacl', 'bin'),
313 True), 320 True),
314 GccCommand(target, MAKE_DESTDIR_CMD + ['install-strip-gcc']), 321 GccCommand(target, MAKE_DESTDIR_CMD + ['install-strip-gcc']),
315 REMOVE_INFO_DIR, 322 REMOVE_INFO_DIR,
316 ], 323 ],
317 }, 324 },
318 } 325 }
319 return tools 326 return tools
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 462
456 463
457 PACKAGES = CollectPackages(TARGET_LIST) 464 PACKAGES = CollectPackages(TARGET_LIST)
458 465
459 466
460 if __name__ == '__main__': 467 if __name__ == '__main__':
461 tb = toolchain_main.PackageBuilder(PACKAGES, sys.argv[1:]) 468 tb = toolchain_main.PackageBuilder(PACKAGES, sys.argv[1:])
462 # TODO(mcgrathr): The bot ought to run some native_client tests 469 # TODO(mcgrathr): The bot ought to run some native_client tests
463 # using the new toolchain, like the old x86 toolchain bots do. 470 # using the new toolchain, like the old x86 toolchain bots do.
464 tb.Main() 471 tb.Main()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698