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

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

Issue 12256005: Replace seq invocation with 'jot -'. They don't have seq on Mac by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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 | 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 HOST="$(uname -n)" 90 HOST="$(uname -n)"
91 # Chrome Mac ASan Builder. 91 # Chrome Mac ASan Builder.
92 if [[ "${HOST}" == "vm633-m1.golo.chromium.org" ]]; then 92 if [[ "${HOST}" == "vm633-m1.golo.chromium.org" ]]; then
93 return 0 93 return 0
94 fi 94 fi
95 # Chrome Mac ASan LKGR. 95 # Chrome Mac ASan LKGR.
96 if [[ "${HOST}" == "mini11-a1.golo.chromium.org" ]]; then 96 if [[ "${HOST}" == "mini11-a1.golo.chromium.org" ]]; then
97 return 0 97 return 0
98 fi 98 fi
99 # mac_asan trybots. 99 # mac_asan trybots.
100 for num in $(seq 600 655) 100 for num in $(jot - 600 655)
hans 2013/02/13 12:25:34 my linux box doesn't have jot.. will this work the
Alexander Potapenko 2013/02/13 12:30:07 I assumed this function was mac-only, which is kin
101 do 101 do
102 if [[ "${HOST}" == "vm${num}-m4.golo.chromium.org" ]]; then 102 if [[ "${HOST}" == "vm${num}-m4.golo.chromium.org" ]]; then
103 return 0 103 return 0
104 fi 104 fi
105 done 105 done
106 return 1 106 return 1
107 } 107 }
108 108
109 # Use older Clang for ASan Mac builds. See http://crbug.com/170629. 109 # Use older Clang for ASan Mac builds. See http://crbug.com/170629.
110 if [[ -n "${is_asan_mac_builder_hackfix}" ]] || on_asan_mac_host; then 110 if [[ -n "${is_asan_mac_builder_hackfix}" ]] || on_asan_mac_host; then
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 # Run a few tests. 387 # Run a few tests.
388 PLUGIN_SRC_DIR="${THIS_DIR}/../plugins" 388 PLUGIN_SRC_DIR="${THIS_DIR}/../plugins"
389 "${PLUGIN_SRC_DIR}/tests/test.sh" "${LLVM_BUILD_DIR}/Release+Asserts" 389 "${PLUGIN_SRC_DIR}/tests/test.sh" "${LLVM_BUILD_DIR}/Release+Asserts"
390 cd "${LLVM_BUILD_DIR}" 390 cd "${LLVM_BUILD_DIR}"
391 make check-all 391 make check-all
392 cd - 392 cd -
393 fi 393 fi
394 394
395 # After everything is done, log success for this revision. 395 # After everything is done, log success for this revision.
396 echo "${CLANG_REVISION}" > "${STAMP_FILE}" 396 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