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

Side by Side Diff: pnacl/build.sh

Issue 222483002: PNaCl: Test support for GCC/LLVM vector extensions (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Update pnacl/COMPONENT_REVISIONS to pull in the LLVM change that adds vector extensions, and use FE… Created 6 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
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 2729 matching lines...) Expand 10 before | Expand all | Expand 10 after
2740 2740
2741 feature-version-file-install() { 2741 feature-version-file-install() {
2742 # Scons tests can check this version number to decide whether to 2742 # Scons tests can check this version number to decide whether to
2743 # enable tests for toolchain bug fixes or new features. This allows 2743 # enable tests for toolchain bug fixes or new features. This allows
2744 # tests to be enabled on the toolchain buildbots/trybots before the 2744 # tests to be enabled on the toolchain buildbots/trybots before the
2745 # new toolchain version is rolled into TOOL_REVISIONS (i.e. before 2745 # new toolchain version is rolled into TOOL_REVISIONS (i.e. before
2746 # the tests would pass on the main NaCl buildbots/trybots). 2746 # the tests would pass on the main NaCl buildbots/trybots).
2747 # 2747 #
2748 # If you are adding a test that depends on a toolchain change, you 2748 # If you are adding a test that depends on a toolchain change, you
2749 # can increment this version number manually. 2749 # can increment this version number manually.
2750 echo 4 > "${INSTALL_ROOT}/FEATURE_VERSION" 2750 echo 5 > "${INSTALL_ROOT}/FEATURE_VERSION"
2751 } 2751 }
2752 2752
2753 # The driver is a simple python script which changes its behavior 2753 # The driver is a simple python script which changes its behavior
2754 # depending on the name it is invoked as. 2754 # depending on the name it is invoked as.
2755 driver-install() { 2755 driver-install() {
2756 local bindir=bin 2756 local bindir=bin
2757 # On Linux we ship a fat toolchain with 2 sets of binaries defaulting to 2757 # On Linux we ship a fat toolchain with 2 sets of binaries defaulting to
2758 # x86-32 (mostly because of the 32 bit chrome bots). So the default 2758 # x86-32 (mostly because of the 32 bit chrome bots). So the default
2759 # bin dir is 32, and the bin64 driver runs the 64 bit binaries 2759 # bin dir is 32, and the bin64 driver runs the 64 bit binaries
2760 if ${HOST_ARCH_X8664} && ${BUILD_PLATFORM_LINUX}; then 2760 if ${HOST_ARCH_X8664} && ${BUILD_PLATFORM_LINUX}; then
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after
3351 3351
3352 if [ "$(type -t $1)" != "function" ]; then 3352 if [ "$(type -t $1)" != "function" ]; then
3353 #Usage 3353 #Usage
3354 echo "ERROR: unknown function '$1'." >&2 3354 echo "ERROR: unknown function '$1'." >&2
3355 echo "For help, try:" 3355 echo "For help, try:"
3356 echo " $0 help" 3356 echo " $0 help"
3357 exit 1 3357 exit 1
3358 fi 3358 fi
3359 3359
3360 "$@" 3360 "$@"
OLDNEW
« no previous file with comments | « pnacl/COMPONENT_REVISIONS ('k') | tests/simd/nacl.scons » ('j') | tests/simd/vector_extension.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698