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

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

Issue 6537017: Roll Clang 125293:125639. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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
« no previous file with comments | « no previous file | 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 #!/bin/bash 1 #!/bin/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 CLANG_REVISION=125293 8 CLANG_REVISION=125639
9 9
10 THIS_DIR=$(dirname $0) 10 THIS_DIR=$(dirname $0)
11 LLVM_DIR=$THIS_DIR/../../../third_party/llvm 11 LLVM_DIR=$THIS_DIR/../../../third_party/llvm
12 CLANG_DIR=$LLVM_DIR/tools/clang 12 CLANG_DIR=$LLVM_DIR/tools/clang
13 13
14 # Die if any command dies. 14 # Die if any command dies.
15 set -e 15 set -e
16 16
17 # Echo all commands. 17 # Echo all commands.
18 set -x 18 set -x
(...skipping 23 matching lines...) Expand all
42 PLUGIN_SRC_DIR=$THIS_DIR/../plugins 42 PLUGIN_SRC_DIR=$THIS_DIR/../plugins
43 PLUGIN_DST_DIR=$LLVM_DIR/../llvm/tools/clang/tools/chrome-plugin 43 PLUGIN_DST_DIR=$LLVM_DIR/../llvm/tools/clang/tools/chrome-plugin
44 PLUGIN_BUILD_DIR=$LLVM_DIR/../llvm-build/tools/clang/tools/chrome-plugin 44 PLUGIN_BUILD_DIR=$LLVM_DIR/../llvm-build/tools/clang/tools/chrome-plugin
45 rm -rf $PLUGIN_DST_DIR 45 rm -rf $PLUGIN_DST_DIR
46 cp -R $PLUGIN_SRC_DIR $PLUGIN_DST_DIR 46 cp -R $PLUGIN_SRC_DIR $PLUGIN_DST_DIR
47 mkdir -p $PLUGIN_BUILD_DIR 47 mkdir -p $PLUGIN_BUILD_DIR
48 cp $PLUGIN_SRC_DIR/Makefile $PLUGIN_BUILD_DIR 48 cp $PLUGIN_SRC_DIR/Makefile $PLUGIN_BUILD_DIR
49 cd $PLUGIN_BUILD_DIR 49 cd $PLUGIN_BUILD_DIR
50 make -j3 50 make -j3
51 cd - 51 cd -
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698