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

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

Issue 8228005: openbsd and freebsd fixes for base (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add myself to the AUTHORS Created 9 years, 2 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 | « build/common.gypi ('k') | 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 #!/usr/bin/env 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 THIS_DIR="$(dirname "${0}")" 8 THIS_DIR="$(dirname "${0}")"
9 LLVM_DIR="${THIS_DIR}/../../../third_party/llvm" 9 LLVM_DIR="${THIS_DIR}/../../../third_party/llvm"
10 LLVM_BUILD_DIR="${LLVM_DIR}/../llvm-build" 10 LLVM_BUILD_DIR="${LLVM_DIR}/../llvm-build"
11 CLANG_DIR="${LLVM_DIR}/tools/clang" 11 CLANG_DIR="${LLVM_DIR}/tools/clang"
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 PLUGIN_BUILD_DIR="${LLVM_BUILD_DIR}/tools/clang/tools/chrome-plugin" 203 PLUGIN_BUILD_DIR="${LLVM_BUILD_DIR}/tools/clang/tools/chrome-plugin"
204 rm -rf "${PLUGIN_DST_DIR}" 204 rm -rf "${PLUGIN_DST_DIR}"
205 cp -R "${PLUGIN_SRC_DIR}" "${PLUGIN_DST_DIR}" 205 cp -R "${PLUGIN_SRC_DIR}" "${PLUGIN_DST_DIR}"
206 rm -rf "${PLUGIN_BUILD_DIR}" 206 rm -rf "${PLUGIN_BUILD_DIR}"
207 mkdir -p "${PLUGIN_BUILD_DIR}" 207 mkdir -p "${PLUGIN_BUILD_DIR}"
208 cp "${PLUGIN_SRC_DIR}/Makefile" "${PLUGIN_BUILD_DIR}" 208 cp "${PLUGIN_SRC_DIR}/Makefile" "${PLUGIN_BUILD_DIR}"
209 make -j"${NUM_JOBS}" -C "${PLUGIN_BUILD_DIR}" 209 make -j"${NUM_JOBS}" -C "${PLUGIN_BUILD_DIR}"
210 210
211 # After everything is done, log success for this revision. 211 # After everything is done, log success for this revision.
212 echo "${CLANG_REVISION}" > "${STAMP_FILE}" 212 echo "${CLANG_REVISION}" > "${STAMP_FILE}"
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698