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. |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 # Run a few tests. | 341 # Run a few tests. |
342 PLUGIN_SRC_DIR="${THIS_DIR}/../plugins" | 342 PLUGIN_SRC_DIR="${THIS_DIR}/../plugins" |
343 "${PLUGIN_SRC_DIR}/tests/test.sh" "${LLVM_BUILD_DIR}/Release+Asserts" | 343 "${PLUGIN_SRC_DIR}/tests/test.sh" "${LLVM_BUILD_DIR}/Release+Asserts" |
344 cd "${LLVM_BUILD_DIR}" | 344 cd "${LLVM_BUILD_DIR}" |
345 make check-all | 345 make check-all |
346 cd - | 346 cd - |
347 fi | 347 fi |
348 | 348 |
349 # After everything is done, log success for this revision. | 349 # After everything is done, log success for this revision. |
350 echo "${CLANG_REVISION}" > "${STAMP_FILE}" | 350 echo "${CLANG_REVISION}" > "${STAMP_FILE}" |
| 351 |
OLD | NEW |