OLD | NEW |
---|---|
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=176256 | 11 CLANG_REVISION=179138 |
Dan Beam
2013/04/24 00:23:42
I'm unable to build after this roll. I don't know
| |
12 # ASan Mac builders are pinned to this revision, see http://crbug.com/170629. | 12 # ASan Mac builders are pinned to this revision, see http://crbug.com/170629. |
13 CLANG_ASAN_MAC_REVISION=170392 | 13 CLANG_ASAN_MAC_REVISION=170392 |
14 | 14 |
15 THIS_DIR="$(dirname "${0}")" | 15 THIS_DIR="$(dirname "${0}")" |
16 LLVM_DIR="${THIS_DIR}/../../../third_party/llvm" | 16 LLVM_DIR="${THIS_DIR}/../../../third_party/llvm" |
17 LLVM_BUILD_DIR="${LLVM_DIR}/../llvm-build" | 17 LLVM_BUILD_DIR="${LLVM_DIR}/../llvm-build" |
18 LLVM_BOOTSTRAP_DIR="${LLVM_DIR}/../llvm-bootstrap" | 18 LLVM_BOOTSTRAP_DIR="${LLVM_DIR}/../llvm-bootstrap" |
19 CLANG_DIR="${LLVM_DIR}/tools/clang" | 19 CLANG_DIR="${LLVM_DIR}/tools/clang" |
20 CLANG_TOOLS_EXTRA_DIR="${CLANG_DIR}/tools/extra" | 20 CLANG_TOOLS_EXTRA_DIR="${CLANG_DIR}/tools/extra" |
21 COMPILER_RT_DIR="${LLVM_DIR}/projects/compiler-rt" | 21 COMPILER_RT_DIR="${LLVM_DIR}/projects/compiler-rt" |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
411 # Run a few tests. | 411 # Run a few tests. |
412 PLUGIN_SRC_DIR="${THIS_DIR}/../plugins" | 412 PLUGIN_SRC_DIR="${THIS_DIR}/../plugins" |
413 "${PLUGIN_SRC_DIR}/tests/test.sh" "${LLVM_BUILD_DIR}/Release+Asserts" | 413 "${PLUGIN_SRC_DIR}/tests/test.sh" "${LLVM_BUILD_DIR}/Release+Asserts" |
414 cd "${LLVM_BUILD_DIR}" | 414 cd "${LLVM_BUILD_DIR}" |
415 make check-all | 415 make check-all |
416 cd - | 416 cd - |
417 fi | 417 fi |
418 | 418 |
419 # After everything is done, log success for this revision. | 419 # After everything is done, log success for this revision. |
420 echo "${CLANG_REVISION}" > "${STAMP_FILE}" | 420 echo "${CLANG_REVISION}" > "${STAMP_FILE}" |
OLD | NEW |