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

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

Issue 785393002: Revert "Roll Clang 218707:223109 (+r223211, +r223219, -r220714)" and follow-ups. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « tools/clang/plugins/tests/test.sh ('k') | tools/clang/scripts/repackage.sh » ('j') | 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) 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, and then package the results up 6 # This script will check out llvm and clang, and then package the results up
7 # to a tgz file. 7 # to a tgz file.
8 8
9 gcc_toolchain= 9 gcc_toolchain=
10 10
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 rm -rf "${LLVM_BOOTSTRAP_INSTALL_DIR}" 80 rm -rf "${LLVM_BOOTSTRAP_INSTALL_DIR}"
81 rm -rf "${LLVM_BUILD_DIR}" 81 rm -rf "${LLVM_BUILD_DIR}"
82 extra_flags= 82 extra_flags=
83 if [[ -n "${gcc_toolchain}" ]]; then 83 if [[ -n "${gcc_toolchain}" ]]; then
84 extra_flags="--gcc-toolchain ${gcc_toolchain}" 84 extra_flags="--gcc-toolchain ${gcc_toolchain}"
85 fi 85 fi
86 "${THIS_DIR}"/update.sh --bootstrap --force-local-build --run-tests \ 86 "${THIS_DIR}"/update.sh --bootstrap --force-local-build --run-tests \
87 ${extra_flags} 2>&1 | tee -a buildlog.txt 87 ${extra_flags} 2>&1 | tee -a buildlog.txt
88 88
89 R=$("${LLVM_BIN_DIR}/clang" --version | \ 89 R=$("${LLVM_BIN_DIR}/clang" --version | \
90 sed -ne 's/clang version .*(trunk \([0-9]*\))/\1/p') 90 sed -ne 's/clang version .*(\([0-9]*\))/\1/p')
91 91
92 PDIR=clang-$R 92 PDIR=clang-$R
93 rm -rf $PDIR 93 rm -rf $PDIR
94 mkdir $PDIR 94 mkdir $PDIR
95 mkdir $PDIR/bin 95 mkdir $PDIR/bin
96 mkdir $PDIR/lib 96 mkdir $PDIR/lib
97 97
98 if [ "$(uname -s)" = "Darwin" ]; then 98 if [ "$(uname -s)" = "Darwin" ]; then
99 SO_EXT="dylib" 99 SO_EXT="dylib"
100 else 100 else
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 175
176 if [ "$(uname -s)" = "Darwin" ]; then 176 if [ "$(uname -s)" = "Darwin" ]; then
177 PLATFORM=Mac 177 PLATFORM=Mac
178 else 178 else
179 PLATFORM=Linux_x64 179 PLATFORM=Linux_x64
180 fi 180 fi
181 181
182 echo To upload, run: 182 echo To upload, run:
183 echo gsutil cp -a public-read $PDIR.tgz \ 183 echo gsutil cp -a public-read $PDIR.tgz \
184 gs://chromium-browser-clang/$PLATFORM/$PDIR.tgz 184 gs://chromium-browser-clang/$PLATFORM/$PDIR.tgz
OLDNEW
« no previous file with comments | « tools/clang/plugins/tests/test.sh ('k') | tools/clang/scripts/repackage.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698