From dd0b6b289d867d8b15ffb25a6bdf22f8c0e976a7 Mon Sep 17 00:00:00 2001 From: hans Date: Wed, 4 Mar 2015 21:54:03 -0800 Subject: [PATCH] Clang update script: make downloads of pre-built tools less verbose We don't print filenames when downloading the pre-built Clang binaries, and I don't think we need to print them for these tools either. This should reduce the log noise. BUG=452726 Review URL: https://codereview.chromium.org/980813002 Cr-Commit-Position: refs/heads/master@{#319224} --- tools/clang/scripts/update.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/clang/scripts/update.sh b/tools/clang/scripts/update.sh index c9fc9a07c838..9fb24a9d5339 100755 --- a/tools/clang/scripts/update.sh +++ b/tools/clang/scripts/update.sh @@ -174,10 +174,11 @@ if [[ -n ${LLVM_FORCE_HEAD_REVISION:-''} ]]; then if [[ $(gcc -dumpversion) < "4.7.0" ]]; then # We need a newer GCC version. if [[ ! -e "${LLVM_BUILD_TOOLS_DIR}/gcc482" ]]; then - echo "Downloading pre-built GCC 4.8.2" + echo "Downloading pre-built GCC 4.8.2..." mkdir -p "${LLVM_BUILD_TOOLS_DIR}" curl --fail -L "${CDS_URL}/tools/gcc482.tgz" | \ - tar vzxf - -C "${LLVM_BUILD_TOOLS_DIR}" + tar zxf - -C "${LLVM_BUILD_TOOLS_DIR}" + echo Done fi gcc_toolchain="${LLVM_BUILD_TOOLS_DIR}/gcc482" else @@ -191,10 +192,11 @@ if [[ -n ${LLVM_FORCE_HEAD_REVISION:-''} ]]; then if [[ $(cmake --version | grep -Eo '[0-9.]+') < "3.0" ]]; then # We need a newer CMake version. if [[ ! -e "${LLVM_BUILD_TOOLS_DIR}/cmake310" ]]; then - echo "Downloading pre-built CMake 3.10" + echo "Downloading pre-built CMake 3.10..." mkdir -p "${LLVM_BUILD_TOOLS_DIR}" curl --fail -L "${CDS_URL}/tools/cmake310.tgz" | \ - tar vzxf - -C "${LLVM_BUILD_TOOLS_DIR}" + tar zxf - -C "${LLVM_BUILD_TOOLS_DIR}" + echo Done fi export PATH="${LLVM_BUILD_TOOLS_DIR}/cmake310/bin:${PATH}" fi -- 2.11.4.GIT