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

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

Issue 11143020: roll clang 163674:165787 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: warn :-/ Created 8 years, 2 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
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 CLANG_REVISION=163674 11 CLANG_REVISION=165787
12 12
13 THIS_DIR="$(dirname "${0}")" 13 THIS_DIR="$(dirname "${0}")"
14 LLVM_DIR="${THIS_DIR}/../../../third_party/llvm" 14 LLVM_DIR="${THIS_DIR}/../../../third_party/llvm"
15 LLVM_BUILD_DIR="${LLVM_DIR}/../llvm-build" 15 LLVM_BUILD_DIR="${LLVM_DIR}/../llvm-build"
16 LLVM_BOOTSTRAP_DIR="${LLVM_DIR}/../llvm-bootstrap" 16 LLVM_BOOTSTRAP_DIR="${LLVM_DIR}/../llvm-bootstrap"
17 CLANG_DIR="${LLVM_DIR}/tools/clang" 17 CLANG_DIR="${LLVM_DIR}/tools/clang"
18 COMPILER_RT_DIR="${LLVM_DIR}/projects/compiler-rt" 18 COMPILER_RT_DIR="${LLVM_DIR}/projects/compiler-rt"
19 STAMP_FILE="${LLVM_BUILD_DIR}/cr_build_revision" 19 STAMP_FILE="${LLVM_BUILD_DIR}/cr_build_revision"
20 20
21 # ${A:-a} returns $A if it's set, a else. 21 # ${A:-a} returns $A if it's set, a else.
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 if [[ -n "$run_tests" ]]; then 277 if [[ -n "$run_tests" ]]; then
278 # Run a few tests. 278 # Run a few tests.
279 "${PLUGIN_SRC_DIR}/tests/test.sh" "${LLVM_BUILD_DIR}/Release+Asserts" 279 "${PLUGIN_SRC_DIR}/tests/test.sh" "${LLVM_BUILD_DIR}/Release+Asserts"
280 cd "${LLVM_BUILD_DIR}" 280 cd "${LLVM_BUILD_DIR}"
281 make check-all 281 make check-all
282 cd - 282 cd -
283 fi 283 fi
284 284
285 # After everything is done, log success for this revision. 285 # After everything is done, log success for this revision.
286 echo "${CLANG_REVISION}" > "${STAMP_FILE}" 286 echo "${CLANG_REVISION}" > "${STAMP_FILE}"
OLDNEW
« tools/clang/plugins/FindBadConstructs.cpp ('K') | « tools/clang/scripts/plugin_flags.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698