OLD | NEW |
---|---|
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 | 6 |
7 ###################################################################### | 7 ###################################################################### |
8 # Notes on directory layout: | 8 # Notes on directory layout: |
9 # makefile location (base_dir): naclports/src | 9 # makefile location (base_dir): naclports/src |
10 # bot script location: naclports/src/build_tools/bots/ | 10 # bot script location: naclports/src/build_tools/bots/ |
11 # toolchain injection point: specified externally via NACL_SDK_ROOT. | 11 # toolchain injection point: specified externally via NACL_SDK_ROOT. |
12 ###################################################################### | 12 ###################################################################### |
13 | 13 |
14 set -o nounset | 14 set -o nounset |
15 set -o errexit | 15 set -o errexit |
16 | 16 |
17 readonly BASE_DIR="$(dirname $0)/../.." | 17 readonly BASE_DIR="$(dirname $0)/../.." |
18 cd ${BASE_DIR} | 18 cd ${BASE_DIR} |
19 | 19 |
20 ERROR=0 | 20 ERROR=0 |
21 | 21 |
22 export NACL_PACKAGES_BITSIZE=pnacl | 22 export NACL_PACKAGES_ARCh=pnacl |
jvoung - send to chromium...
2012/12/27 22:09:50
uppercase the "h" in ARCh?
Is it NACL_PACKAGES_AR
Sam Clegg
2012/12/28 15:31:43
Done.
| |
23 readonly PACKAGES=$(make works_for_pnacl_list) | 23 readonly PACKAGES=$(make works_for_pnacl_list) |
24 | 24 |
25 | 25 |
26 StepConfig() { | 26 StepConfig() { |
27 echo "@@@BUILD_STEP CONFIG" | 27 echo "@@@BUILD_STEP CONFIG" |
28 echo "BASE_DIR: ${BASE_DIR}" | 28 echo "BASE_DIR: ${BASE_DIR}" |
29 echo "PACKAGES:" | 29 echo "PACKAGES:" |
30 for i in ${PACKAGES} ; do | 30 for i in ${PACKAGES} ; do |
31 echo " $i" | 31 echo " $i" |
32 done | 32 done |
(...skipping 23 matching lines...) Expand all Loading... | |
56 echo "@@@STEP_FAILURE@@@" | 56 echo "@@@STEP_FAILURE@@@" |
57 fi | 57 fi |
58 echo -e "${messages}" | 58 echo -e "${messages}" |
59 } | 59 } |
60 | 60 |
61 StepConfig | 61 StepConfig |
62 StepInstallSdk | 62 StepInstallSdk |
63 StepBuildEverything | 63 StepBuildEverything |
64 | 64 |
65 exit ${ERROR} | 65 exit ${ERROR} |
OLD | NEW |