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

Side by Side Diff: tools/clang/scripts/update.sh

Issue 13999003: Make sure the asan clang pinning does not pin the layout bots too (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium 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 # This script will check out llvm and clang into third_party/llvm and build it. 6 # This script will check out llvm and clang into third_party/llvm and build it.
7 7
8 # Do NOT CHANGE this if you don't know what you're doing -- see 8 # Do NOT CHANGE this if you don't know what you're doing -- see
9 # https://code.google.com/p/chromium/wiki/UpdatingClang 9 # https://code.google.com/p/chromium/wiki/UpdatingClang
10 # Reverting problematic clang rolls is safe, though. 10 # Reverting problematic clang rolls is safe, though.
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 return 0 110 return 0
111 fi 111 fi
112 # 10.8 Chrome Mac ASan Builder. 112 # 10.8 Chrome Mac ASan Builder.
113 if [[ "${HOST}" == "vm672-m1" ]]; then 113 if [[ "${HOST}" == "vm672-m1" ]]; then
114 return 0 114 return 0
115 fi 115 fi
116 # Chrome Mac ASan LKGR. 116 # Chrome Mac ASan LKGR.
117 if [[ "${HOST}" == "mini11-a1" ]]; then 117 if [[ "${HOST}" == "mini11-a1" ]]; then
118 return 0 118 return 0
119 fi 119 fi
120 # mac_asan trybots. 120 # mac_asan trybots. These share machines with the mac_layout bots, so only
121 for num in $(jot - 600 655) 121 # pin clang if the slave is used for an _asan build, not for a layout build.
122 if [[ "${PWD}" != *asan* ]]; then
123 return 1
124 fi
125 for num in {600..655}
122 do 126 do
123 if [[ "${HOST}" == "vm${num}-m4" ]]; then 127 if [[ "${HOST}" == "vm${num}-m4" ]]; then
124 return 0 128 return 0
125 fi 129 fi
126 done 130 done
127 return 1 131 return 1
128 } 132 }
129 133
130 # Use older Clang for ASan Mac builds. See http://crbug.com/170629. 134 # Use older Clang for ASan Mac builds. See http://crbug.com/170629.
131 if [[ -n "${is_asan_mac_builder_hackfix}" ]] || on_asan_mac_host; then 135 if [[ -n "${is_asan_mac_builder_hackfix}" ]] || on_asan_mac_host; then
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 # Run a few tests. 411 # Run a few tests.
408 PLUGIN_SRC_DIR="${THIS_DIR}/../plugins" 412 PLUGIN_SRC_DIR="${THIS_DIR}/../plugins"
409 "${PLUGIN_SRC_DIR}/tests/test.sh" "${LLVM_BUILD_DIR}/Release+Asserts" 413 "${PLUGIN_SRC_DIR}/tests/test.sh" "${LLVM_BUILD_DIR}/Release+Asserts"
410 cd "${LLVM_BUILD_DIR}" 414 cd "${LLVM_BUILD_DIR}"
411 make check-all 415 make check-all
412 cd - 416 cd -
413 fi 417 fi
414 418
415 # After everything is done, log success for this revision. 419 # After everything is done, log success for this revision.
416 echo "${CLANG_REVISION}" > "${STAMP_FILE}" 420 echo "${CLANG_REVISION}" > "${STAMP_FILE}"
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698