You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ma...@apache.org on 2019/01/21 19:00:35 UTC

[incubator-mxnet] branch master updated: Reduce verbosity of container builds (wget output) (#13888)

This is an automated email from the ASF dual-hosted git repository.

marcoabreu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 7b9d6ed  Reduce verbosity of container builds (wget output) (#13888)
7b9d6ed is described below

commit 7b9d6ed64303171b2be9dc2de666d4de4bad9b48
Author: Pedro Larroy <pe...@gmail.com>
AuthorDate: Mon Jan 21 20:00:10 2019 +0100

    Reduce verbosity of container builds (wget output) (#13888)
---
 ci/docker/install/ubuntu_clang.sh | 6 ++++--
 ci/docker/install/ubuntu_julia.sh | 4 ++--
 ci/docker/install/ubuntu_llvm.sh  | 2 +-
 ci/docker/install/ubuntu_mkl.sh   | 2 +-
 4 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/ci/docker/install/ubuntu_clang.sh b/ci/docker/install/ubuntu_clang.sh
index 19aada9..ac1bdac 100755
--- a/ci/docker/install/ubuntu_clang.sh
+++ b/ci/docker/install/ubuntu_clang.sh
@@ -24,7 +24,7 @@ set -ex
 
 apt-get update || true
 # Install clang 3.9 (the same version as in XCode 8.*) and 6.0 (latest major release)
-wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \
+wget -qO - http://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \
     apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-3.9 main" && \
     apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main" && \
     apt-get update && \
@@ -35,4 +35,6 @@ wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \
 # Use llvm's master version of run-clang-tidy.py.  This version has mostly minor updates, but
 # importantly will properly return a non-zero exit code when an error is reported in clang-tidy.
 # Please remove the below if we install a clang version higher than 6.0.
-wget https://raw.githubusercontent.com/llvm-mirror/clang-tools-extra/7654135f0cbd155c285fd2a37d87e27e4fff3071/clang-tidy/tool/run-clang-tidy.py -O /usr/lib/llvm-6.0/share/clang/run-clang-tidy.py
+wget \
+ -qO /usr/lib/llvm-6.0/share/clang/run-clang-tidy.py\
+ https://raw.githubusercontent.com/llvm-mirror/clang-tools-extra/7654135f0cbd155c285fd2a37d87e27e4fff3071/clang-tidy/tool/run-clang-tidy.py
diff --git a/ci/docker/install/ubuntu_julia.sh b/ci/docker/install/ubuntu_julia.sh
index 13093ac..6849fe2 100755
--- a/ci/docker/install/ubuntu_julia.sh
+++ b/ci/docker/install/ubuntu_julia.sh
@@ -32,8 +32,8 @@ function install_julia() {
     # The julia version in Ubuntu repo is too old
     # We download the tarball from the official link:
     #   https://julialang.org/downloads/
-    wget -O $JLBINARY https://julialang-s3.julialang.org/bin/linux/x64/$1/julia-$2-linux-x86_64.tar.gz
-    tar xzvf $JLBINARY -C $JULIADIR --strip 1
+    wget -qO $JLBINARY https://julialang-s3.julialang.org/bin/linux/x64/$1/julia-$2-linux-x86_64.tar.gz
+    tar xzf $JLBINARY -C $JULIADIR --strip 1
     rm $JLBINARY
 
     $JULIA -e 'using InteractiveUtils; versioninfo()'
diff --git a/ci/docker/install/ubuntu_llvm.sh b/ci/docker/install/ubuntu_llvm.sh
index afd881e..8b6e765 100755
--- a/ci/docker/install/ubuntu_llvm.sh
+++ b/ci/docker/install/ubuntu_llvm.sh
@@ -22,6 +22,6 @@ echo deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main\
 echo deb-src http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main\
      >> /etc/apt/sources.list.d/llvm.list
 
-wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
+wget -qO - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
 apt-get update || true
 apt-get install -y --force-yes llvm-5.0
diff --git a/ci/docker/install/ubuntu_mkl.sh b/ci/docker/install/ubuntu_mkl.sh
index 36fc7b0..97ef158 100755
--- a/ci/docker/install/ubuntu_mkl.sh
+++ b/ci/docker/install/ubuntu_mkl.sh
@@ -25,7 +25,7 @@ set -ex
 apt-get update || true
 # Install Intel Math Kernel Library (latest major release)
 # https://software.intel.com/en-us/articles/installing-intel-free-libs-and-python-apt-repo
-wget -O - wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB | apt-key add - && \
+wget -qO - wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB | apt-key add - && \
     sh -c 'echo deb https://apt.repos.intel.com/mkl all main > /etc/apt/sources.list.d/intel-mkl.list' && \
     apt-get update && \
     apt-get install -y intel-mkl-2019.1-053