| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2011 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 #@ Untrusted Toolchain Manager | 6 #@ Untrusted Toolchain Manager |
| 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 SBTC_PRODUCTION=${SBTC_PRODUCTION:-false} | 226 SBTC_PRODUCTION=${SBTC_PRODUCTION:-false} |
| 227 | 227 |
| 228 # Which toolchain to use for each arch. | 228 # Which toolchain to use for each arch. |
| 229 if ${LIBMODE_NEWLIB}; then | 229 if ${LIBMODE_NEWLIB}; then |
| 230 SBTC_BUILD_WITH_PNACL="arm x8632 x8664" | 230 SBTC_BUILD_WITH_PNACL="arm x8632 x8664" |
| 231 else | 231 else |
| 232 SBTC_BUILD_WITH_PNACL="x8632 x8664" | 232 SBTC_BUILD_WITH_PNACL="x8632 x8664" |
| 233 fi | 233 fi |
| 234 | 234 |
| 235 # Current milestones in each repo | 235 # Current milestones in each repo |
| 236 readonly UPSTREAM_REV=${UPSTREAM_REV:-046aa7a7b73d} | 236 readonly UPSTREAM_REV=${UPSTREAM_REV:-43e0e25ca86f} |
| 237 | 237 |
| 238 readonly NEWLIB_REV=c6358617f3fd | 238 readonly NEWLIB_REV=c6358617f3fd |
| 239 readonly BINUTILS_REV=17a01203bd48 | 239 readonly BINUTILS_REV=17a01203bd48 |
| 240 readonly COMPILER_RT_REV=1a3a6ffb31ea | 240 readonly COMPILER_RT_REV=1a3a6ffb31ea |
| 241 | 241 |
| 242 readonly LLVM_PROJECT_REV=${LLVM_PROJECT_REV:-143276} | 242 readonly LLVM_PROJECT_REV=${LLVM_PROJECT_REV:-143276} |
| 243 readonly LLVM_MASTER_REV=${LLVM_PROJECT_REV} | 243 readonly LLVM_MASTER_REV=${LLVM_PROJECT_REV} |
| 244 readonly CLANG_REV=${LLVM_PROJECT_REV} | 244 readonly CLANG_REV=${LLVM_PROJECT_REV} |
| 245 readonly DRAGONEGG_REV=${LLVM_PROJECT_REV} | 245 readonly DRAGONEGG_REV=${LLVM_PROJECT_REV} |
| 246 | 246 |
| (...skipping 3326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3573 | 3573 |
| 3574 if [ "$(type -t $1)" != "function" ]; then | 3574 if [ "$(type -t $1)" != "function" ]; then |
| 3575 #Usage | 3575 #Usage |
| 3576 echo "ERROR: unknown function '$1'." >&2 | 3576 echo "ERROR: unknown function '$1'." >&2 |
| 3577 echo "For help, try:" | 3577 echo "For help, try:" |
| 3578 echo " $0 help" | 3578 echo " $0 help" |
| 3579 exit 1 | 3579 exit 1 |
| 3580 fi | 3580 fi |
| 3581 | 3581 |
| 3582 "$@" | 3582 "$@" |
| OLD | NEW |