| 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 # nacl-install-windows-ports-6.sh | 7 # nacl-install-windows-ports-6.sh |
| 8 # | 8 # |
| 9 # usage: nacl-install-windows-ports-6.sh | 9 # usage: nacl-install-windows-ports-6.sh |
| 10 # | 10 # |
| 11 # This script builds the packages for Native Client that are designated to | 11 # This script builds the packages for Native Client that are designated to |
| 12 # the bot named windows-ports-6. | 12 # the bot named windows-ports-6. |
| 13 # | 13 # |
| 14 | 14 |
| 15 source ../bot_common.sh | 15 source ../bot_common.sh |
| 16 | 16 |
| 17 SCRIPT_DIR="$(cd $(dirname $0) && pwd)" | 17 SCRIPT_DIR="$(cd $(dirname $0) && pwd)" |
| 18 cd ${SCRIPT_DIR}/../../.. | 18 cd ${SCRIPT_DIR}/../../.. |
| 19 make clean | 19 make clean |
| 20 | 20 |
| 21 BuildPackage openscenegraph | 21 BuildPackage openscenegraph |
| 22 BuildPackage x264 | 22 BuildPackage x264 |
| 23 BuildPackage boost | 23 BuildPackage boost |
| 24 BuildPackage protobuf | 24 BuildPackage protobuf |
| 25 BuildPackage openal | 25 BuildPackage openal |
| 26 | 26 |
| 27 echo "@@@BUILD_STEP ${NACL_PACKAGES_BITSIZE}-bit Summary@@@" | 27 echo "@@@BUILD_STEP ${NACL_ARCH} Summary@@@" |
| 28 if [[ $RESULT != 0 ]] ; then | 28 if [[ $RESULT != 0 ]] ; then |
| 29 echo "@@@STEP_FAILURE@@@" | 29 echo "@@@STEP_FAILURE@@@" |
| 30 fi | 30 fi |
| 31 | 31 |
| 32 echo -e "$MESSAGES" | 32 echo -e "$MESSAGES" |
| 33 | 33 |
| 34 exit $RESULT | 34 exit $RESULT |
| OLD | NEW |