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

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

Issue 8538027: Roll clang 143497:144521 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no cc1 Created 9 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 | « tools/clang/plugins/tests/test.sh ('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) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 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 # http://code.google.com/p/chromium/wiki/UpdatingClang 9 # http://code.google.com/p/chromium/wiki/UpdatingClang
10 CLANG_REVISION=143497 10 CLANG_REVISION=144521
11 11
12 THIS_DIR="$(dirname "${0}")" 12 THIS_DIR="$(dirname "${0}")"
13 LLVM_DIR="${THIS_DIR}/../../../third_party/llvm" 13 LLVM_DIR="${THIS_DIR}/../../../third_party/llvm"
14 LLVM_BUILD_DIR="${LLVM_DIR}/../llvm-build" 14 LLVM_BUILD_DIR="${LLVM_DIR}/../llvm-build"
15 CLANG_DIR="${LLVM_DIR}/tools/clang" 15 CLANG_DIR="${LLVM_DIR}/tools/clang"
16 STAMP_FILE="${LLVM_BUILD_DIR}/cr_build_revision" 16 STAMP_FILE="${LLVM_BUILD_DIR}/cr_build_revision"
17 17
18 # ${A:-a} returns $A if it's set, a else. 18 # ${A:-a} returns $A if it's set, a else.
19 LLVM_REPO_URL=${LLVM_URL:-http://llvm.org/svn/llvm-project} 19 LLVM_REPO_URL=${LLVM_URL:-http://llvm.org/svn/llvm-project}
20 20
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 if [[ -n "$run_tests" ]]; then 202 if [[ -n "$run_tests" ]]; then
203 # Run a few tests. 203 # Run a few tests.
204 "${PLUGIN_SRC_DIR}/tests/test.sh" "${LLVM_BUILD_DIR}/Release+Asserts" 204 "${PLUGIN_SRC_DIR}/tests/test.sh" "${LLVM_BUILD_DIR}/Release+Asserts"
205 cd "${LLVM_BUILD_DIR}" 205 cd "${LLVM_BUILD_DIR}"
206 make check-all 206 make check-all
207 cd - 207 cd -
208 fi 208 fi
209 209
210 # After everything is done, log success for this revision. 210 # After everything is done, log success for this revision.
211 echo "${CLANG_REVISION}" > "${STAMP_FILE}" 211 echo "${CLANG_REVISION}" > "${STAMP_FILE}"
OLDNEW
« no previous file with comments | « tools/clang/plugins/tests/test.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698