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

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

Issue 11361133: roll clang 165787:167488 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: old flag Created 8 years, 1 month 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 | « chrome/browser/ui/cocoa/history_menu_cocoa_controller_unittest.mm ('k') | 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.
11 if [[ $ANDROID_SDK_VERSION || $PWD =~ [Aa]ndroid ]]; then 11 if [[ $ANDROID_SDK_VERSION || $PWD =~ [Aa]ndroid ]]; then
12 # Temporarily revert the last clang roll on android due to 12 # Temporarily revert the last clang roll on android due to
13 # http://crbug.com/156947 13 # http://crbug.com/156947
14 CLANG_REVISION=163674 14 CLANG_REVISION=163674
15 else 15 else
16 CLANG_REVISION=165787 16 CLANG_REVISION=167488
17 fi 17 fi
18 18
19 THIS_DIR="$(dirname "${0}")" 19 THIS_DIR="$(dirname "${0}")"
20 LLVM_DIR="${THIS_DIR}/../../../third_party/llvm" 20 LLVM_DIR="${THIS_DIR}/../../../third_party/llvm"
21 LLVM_BUILD_DIR="${LLVM_DIR}/../llvm-build" 21 LLVM_BUILD_DIR="${LLVM_DIR}/../llvm-build"
22 LLVM_BOOTSTRAP_DIR="${LLVM_DIR}/../llvm-bootstrap" 22 LLVM_BOOTSTRAP_DIR="${LLVM_DIR}/../llvm-bootstrap"
23 CLANG_DIR="${LLVM_DIR}/tools/clang" 23 CLANG_DIR="${LLVM_DIR}/tools/clang"
24 COMPILER_RT_DIR="${LLVM_DIR}/projects/compiler-rt" 24 COMPILER_RT_DIR="${LLVM_DIR}/projects/compiler-rt"
25 ANDROID_NDK_DIR="${LLVM_DIR}/../android_tools/ndk" 25 ANDROID_NDK_DIR="${LLVM_DIR}/../android_tools/ndk"
26 STAMP_FILE="${LLVM_BUILD_DIR}/cr_build_revision" 26 STAMP_FILE="${LLVM_BUILD_DIR}/cr_build_revision"
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 if [[ -n "$run_tests" ]]; then 324 if [[ -n "$run_tests" ]]; then
325 # Run a few tests. 325 # Run a few tests.
326 "${PLUGIN_SRC_DIR}/tests/test.sh" "${LLVM_BUILD_DIR}/Release+Asserts" 326 "${PLUGIN_SRC_DIR}/tests/test.sh" "${LLVM_BUILD_DIR}/Release+Asserts"
327 cd "${LLVM_BUILD_DIR}" 327 cd "${LLVM_BUILD_DIR}"
328 make check-all 328 make check-all
329 cd - 329 cd -
330 fi 330 fi
331 331
332 # After everything is done, log success for this revision. 332 # After everything is done, log success for this revision.
333 echo "${CLANG_REVISION}" > "${STAMP_FILE}" 333 echo "${CLANG_REVISION}" > "${STAMP_FILE}"
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/history_menu_cocoa_controller_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698