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

Side by Side Diff: build_tools/buildbot_common.sh

Issue 942013005: Enable building for ARM with nacl-clang (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | build_tools/common.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2014 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2014 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 RESULT=0 6 RESULT=0
7 MESSAGES= 7 MESSAGES=
8 8
9 # SCRIPT_DIR must be defined by the including script 9 # SCRIPT_DIR must be defined by the including script
10 readonly BASE_DIR="$(dirname ${SCRIPT_DIR})" 10 readonly BASE_DIR="$(dirname ${SCRIPT_DIR})"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 if [ "${TOOLCHAIN}" = "pnacl" -a "${NACL_ARCH}" != "pnacl" ]; then 66 if [ "${TOOLCHAIN}" = "pnacl" -a "${NACL_ARCH}" != "pnacl" ]; then
67 continue 67 continue
68 fi 68 fi
69 if [ "${TOOLCHAIN}" != "pnacl" -a "${NACL_ARCH}" = "pnacl" ]; then 69 if [ "${TOOLCHAIN}" != "pnacl" -a "${NACL_ARCH}" = "pnacl" ]; then
70 continue 70 continue
71 fi 71 fi
72 # glibc doesn't work on arm for now. 72 # glibc doesn't work on arm for now.
73 if [ "${TOOLCHAIN}" = "glibc" -a "${NACL_ARCH}" = "arm" ]; then 73 if [ "${TOOLCHAIN}" = "glibc" -a "${NACL_ARCH}" = "arm" ]; then
74 continue 74 continue
75 fi 75 fi
76 # nacl-clang doesn't work on arm for now (SDK libs not yet built)
77 # TODO(sbc): remove this once arm-nacl-clang support is in the SDK.
78 if [ "${TOOLCHAIN}" = "clang-newlib" -a "${NACL_ARCH}" = "arm" ]; then
79 continue
80 fi
81 # i686-nacl-clang doesn't reference the i686-nacl/usr/include or 76 # i686-nacl-clang doesn't reference the i686-nacl/usr/include or
82 # i686-nacl/usr/lib. 77 # i686-nacl/usr/lib.
83 # TODO(sbc): remove this once nacl-clang works with i686-nacl 78 # TODO(sbc): remove this once nacl-clang works with i686-nacl
84 if [ "${TOOLCHAIN}" = "clang-newlib" -a "${NACL_ARCH}" = "i686" ]; then 79 if [ "${TOOLCHAIN}" = "clang-newlib" -a "${NACL_ARCH}" = "i686" ]; then
85 continue 80 continue
86 fi 81 fi
87 # bionic only works on arm for now. 82 # bionic only works on arm for now.
88 if [ "${TOOLCHAIN}" = "bionic" -a "${NACL_ARCH}" != "arm" ]; then 83 if [ "${TOOLCHAIN}" = "bionic" -a "${NACL_ARCH}" != "arm" ]; then
89 continue 84 continue
90 fi 85 fi
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 echo "@@@BUILD_STEP clean@@@" 130 echo "@@@BUILD_STEP clean@@@"
136 CleanToolchain ${TOOLCHAIN} 131 CleanToolchain ${TOOLCHAIN}
137 } 132 }
138 133
139 CleanAllToolchains() { 134 CleanAllToolchains() {
140 echo "@@@BUILD_STEP clean all@@@" 135 echo "@@@BUILD_STEP clean all@@@"
141 for TC in ${TOOLCHAIN_LIST}; do 136 for TC in ${TOOLCHAIN_LIST}; do
142 CleanToolchain ${TC} 137 CleanToolchain ${TC}
143 done 138 done
144 } 139 }
OLDNEW
« no previous file with comments | « no previous file | build_tools/common.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698