From 7a652a8c646a6e6492ca637613b24b81486a1f37 Mon Sep 17 00:00:00 2001 From: Philip Hyunsu Cho Date: Sun, 3 Feb 2019 00:08:14 -0800 Subject: [PATCH] Speed up Jenkins by not compiling CMake (#4099) --- tests/ci_build/Dockerfile.gpu | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/ci_build/Dockerfile.gpu b/tests/ci_build/Dockerfile.gpu index c9e576a0e..1376b5fe8 100644 --- a/tests/ci_build/Dockerfile.gpu +++ b/tests/ci_build/Dockerfile.gpu @@ -14,10 +14,8 @@ RUN \ wget https://repo.continuum.io/miniconda/Miniconda2-4.3.27-Linux-x86_64.sh && \ bash Miniconda2-4.3.27-Linux-x86_64.sh -b -p /opt/python && \ # CMake - wget http://www.cmake.org/files/v3.5/cmake-3.5.2.tar.gz && \ - tar -xvzf cmake-3.5.2.tar.gz && \ - cd cmake-3.5.2/ && ./configure && make && make install && cd ../ && \ - rm -rf cmake-3.5.2/ && rm -rf cmake-3.5.2.tar.gz + wget -nv -nc https://cmake.org/files/v3.5/cmake-3.5.2-Linux-x86_64.sh --no-check-certificate && \ + bash cmake-3.5.2-Linux-x86_64.sh --skip-license --prefix=/usr # NCCL2 (License: https://docs.nvidia.com/deeplearning/sdk/nccl-sla/index.html) RUN \