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

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

Issue 589773002: r287585, repackage edition. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« 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 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 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, build a full package 6 # This script will check out llvm and clang, build a full package
7 # with the latest plugin revisions and then repackage an existing 7 # with the latest plugin revisions and then repackage an existing
8 # clang-package with the new plugin revisions. 8 # clang-package with the new plugin revisions.
9 9
10 # The new package can be uploaded to replace the existing clang 10 # The new package can be uploaded to replace the existing clang
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 LIBFILE=lib$LIBNAME.$SO_EXT 49 LIBFILE=lib$LIBNAME.$SO_EXT
50 50
51 # Check that we are actually creating the plugin at a new revision. 51 # Check that we are actually creating the plugin at a new revision.
52 if [ -f "$LLVM_LIB_DIR/$LIBFILE" ]; then 52 if [ -f "$LLVM_LIB_DIR/$LIBFILE" ]; then
53 echo "The plugin revision $LIBNAME is already in the existing package." 53 echo "The plugin revision $LIBNAME is already in the existing package."
54 exit 1 54 exit 1
55 fi 55 fi
56 56
57 cp $PDIR/lib/$LIBFILE "$LLVM_LIB_DIR/" 57 cp $PDIR/lib/$LIBFILE "$LLVM_LIB_DIR/"
58 tar zcf ${PDIR}_repack.tgz -C "$LLVM_TAR_DIR" bin lib buildlog.txt 58 if [ "$(uname -s)" = "Darwin" ]; then
59 tar zcf ${PDIR}_repack.tgz -C "$LLVM_TAR_DIR" bin include lib buildlog.txt
hans 2014/09/19 22:52:29 tar: include: Cannot stat: No such file or directo
Nico 2014/09/19 23:01:27 I think that's because our current package is brok
60 else
61 tar zcf ${PDIR}_repack.tgz -C "$LLVM_TAR_DIR" bin lib buildlog.txt
62 fi
59 63
60 echo The clang package has been repackaged with $LIBNAME 64 echo The clang package has been repackaged with $LIBNAME
61 echo To upload, run: 65 echo To upload, run:
62 echo gsutil cp -a public-read ${PDIR}_repack.tgz \ 66 echo gsutil cp -a public-read ${PDIR}_repack.tgz \
63 gs://chromium-browser-clang/$PLATFORM/$PDIR.tgz 67 gs://chromium-browser-clang/$PLATFORM/$PDIR.tgz
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