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 set -o xtrace | 6 set -o xtrace |
7 set -o nounset | 7 set -o nounset |
8 set -o errexit | 8 set -o errexit |
9 | 9 |
10 # Tell build.sh and test.sh that we're a bot. | 10 # Tell build.sh and test.sh that we're a bot. |
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
488 mode-buildbot-arm-hw-opt() { | 488 mode-buildbot-arm-hw-opt() { |
489 unarchive-for-hw-bots $(NAME_ARM_DOWNLOAD) regular | 489 unarchive-for-hw-bots $(NAME_ARM_DOWNLOAD) regular |
490 mode-buildbot-arm-hw | 490 mode-buildbot-arm-hw |
491 } | 491 } |
492 | 492 |
493 mode-buildbot-arm-hw-try() { | 493 mode-buildbot-arm-hw-try() { |
494 unarchive-for-hw-bots $(NAME_ARM_TRY_DOWNLOAD) try | 494 unarchive-for-hw-bots $(NAME_ARM_TRY_DOWNLOAD) try |
495 mode-buildbot-arm-hw | 495 mode-buildbot-arm-hw |
496 } | 496 } |
497 | 497 |
498 mode-buildbot-mips-toolchain() { | |
Mark Seaborn
2013/12/10 23:06:20
Putting this in buildbot_pnacl.sh is not ideal bec
petarj
2013/12/11 19:08:59
Done.
| |
499 tools/trusted_cross_toolchains/trusted-toolchain-creator.mipsel.debian.sh \ | |
500 nacl_sdk | |
501 ${UP_DOWN_LOAD} UploadPnaclToolchains ${BUILDBOT_GOT_REVISION} \ | |
Mark Seaborn
2013/12/10 23:06:20
What URL does this make the tarball available as?
petarj
2013/12/11 19:08:59
The name will be naclsdk_linux_mips-trusted.tgz.
I
| |
502 linux_mips-trusted nacl_sdk.tgz | |
503 } | |
504 | |
498 # These 2 functions are also suitable for local TC sanity testing. | 505 # These 2 functions are also suitable for local TC sanity testing. |
499 tc-tests-all() { | 506 tc-tests-all() { |
500 local is_try=$1 | 507 local is_try=$1 |
501 | 508 |
502 local label="pnaclsdk_mode=custom:toolchain/${PNACL_TOOLCHAIN_LABEL}" | 509 local label="pnaclsdk_mode=custom:toolchain/${PNACL_TOOLCHAIN_LABEL}" |
503 local scons_flags="-k skip_trusted_tests=1 -j8 ${label}" | 510 local scons_flags="-k skip_trusted_tests=1 -j8 ${label}" |
504 | 511 |
505 llvm-regression | 512 llvm-regression |
506 | 513 |
507 # newlib | 514 # newlib |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
696 exit 1 | 703 exit 1 |
697 fi | 704 fi |
698 | 705 |
699 "$@" | 706 "$@" |
700 | 707 |
701 if [[ ${RETCODE} != 0 ]]; then | 708 if [[ ${RETCODE} != 0 ]]; then |
702 echo "@@@BUILD_STEP summary@@@" | 709 echo "@@@BUILD_STEP summary@@@" |
703 echo There were failed stages. | 710 echo There were failed stages. |
704 exit ${RETCODE} | 711 exit ${RETCODE} |
705 fi | 712 fi |
OLD | NEW |