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

Side by Side Diff: pnacl/build.sh

Issue 110663007: PNaCl: Enable testing of computed gotos, including GCC torture tests (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Update comment Created 6 years, 11 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
« no previous file with comments | « no previous file | tests/computed_gotos/nacl.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
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 #@ PNaCl toolchain build script 6 #@ PNaCl toolchain build script
7 #@------------------------------------------------------------------- 7 #@-------------------------------------------------------------------
8 #@ This script builds the ARM and PNaCl untrusted toolchains. 8 #@ This script builds the ARM and PNaCl untrusted toolchains.
9 #@ It MUST be run from the native_client/ directory. 9 #@ It MUST be run from the native_client/ directory.
10 ###################################################################### 10 ######################################################################
(...skipping 2783 matching lines...) Expand 10 before | Expand all | Expand 10 after
2794 2794
2795 feature-version-file-install() { 2795 feature-version-file-install() {
2796 # Scons tests can check this version number to decide whether to 2796 # Scons tests can check this version number to decide whether to
2797 # enable tests for toolchain bug fixes or new features. This allows 2797 # enable tests for toolchain bug fixes or new features. This allows
2798 # tests to be enabled on the toolchain buildbots/trybots before the 2798 # tests to be enabled on the toolchain buildbots/trybots before the
2799 # new toolchain version is rolled into TOOL_REVISIONS (i.e. before 2799 # new toolchain version is rolled into TOOL_REVISIONS (i.e. before
2800 # the tests would pass on the main NaCl buildbots/trybots). 2800 # the tests would pass on the main NaCl buildbots/trybots).
2801 # 2801 #
2802 # If you are adding a test that depends on a toolchain change, you 2802 # If you are adding a test that depends on a toolchain change, you
2803 # can increment this version number manually. 2803 # can increment this version number manually.
2804 echo 3 > "${INSTALL_ROOT}/FEATURE_VERSION" 2804 echo 4 > "${INSTALL_ROOT}/FEATURE_VERSION"
2805 } 2805 }
2806 2806
2807 # The driver is a simple python script which changes its behavior 2807 # The driver is a simple python script which changes its behavior
2808 # depending on the name it is invoked as. 2808 # depending on the name it is invoked as.
2809 driver-install() { 2809 driver-install() {
2810 local bindir=bin 2810 local bindir=bin
2811 # On Linux we ship a fat toolchain with 2 sets of binaries defaulting to 2811 # On Linux we ship a fat toolchain with 2 sets of binaries defaulting to
2812 # x86-32 (mostly because of the 32 bit chrome bots). So the default 2812 # x86-32 (mostly because of the 32 bit chrome bots). So the default
2813 # bin dir is 32, and the bin64 driver runs the 64 bit binaries 2813 # bin dir is 32, and the bin64 driver runs the 64 bit binaries
2814 if ${HOST_ARCH_X8664} && ${BUILD_PLATFORM_LINUX}; then 2814 if ${HOST_ARCH_X8664} && ${BUILD_PLATFORM_LINUX}; then
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
3399 3399
3400 if [ "$(type -t $1)" != "function" ]; then 3400 if [ "$(type -t $1)" != "function" ]; then
3401 #Usage 3401 #Usage
3402 echo "ERROR: unknown function '$1'." >&2 3402 echo "ERROR: unknown function '$1'." >&2
3403 echo "For help, try:" 3403 echo "For help, try:"
3404 echo " $0 help" 3404 echo " $0 help"
3405 exit 1 3405 exit 1
3406 fi 3406 fi
3407 3407
3408 "$@" 3408 "$@"
OLDNEW
« no previous file with comments | « no previous file | tests/computed_gotos/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698