Skip to content

Commit

Permalink
cmake 3.12.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Apr 10, 2019
1 parent 89a1759 commit db75a19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ if (USE_SANITIZER)
endif (USE_SANITIZER)

if (USE_CUDA)
cmake_minimum_required(VERSION 3.8)
cmake_minimum_required(VERSION 3.12)
# `export CXX=' is ignored by CMake CUDA, `CMAKE_CUDA_HOST_COMPILER'
# is not available before 3.10.
if (CMAKE_VERSION VERSION_LESS 3.10)
Expand Down
4 changes: 2 additions & 2 deletions tests/ci_build/Dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,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 -nv -nc https://cmake.org/files/v3.8/cmake-3.8.0-Linux-x86_64.sh --no-check-certificate && \
bash cmake-3.8.0-Linux-x86_64.sh --skip-license --prefix=/usr
wget -nv -nc https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh --no-check-certificate && \
bash cmake-3.12.0-Linux-x86_64.sh --skip-license --prefix=/usr

# NCCL2 (License: https://docs.nvidia.com/deeplearning/sdk/nccl-sla/index.html)
RUN \
Expand Down

0 comments on commit db75a19

Please sign in to comment.