Skip to content

Commit

Permalink
Update cmake to 3.20.5 in the java docker image
Browse files Browse the repository at this point in the history
cuDF updated the cmake requiring 3.20.1 or higher version with #8586, while cmake version in the java docker image is still 3.19.0.

Need to update cmake version in the java docker image to meet the requirement.

Signed-off-by: Tim Liu <[email protected]>
  • Loading branch information
NvTimLiu committed Jun 24, 2021
1 parent 788bddd commit 14717af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 4 additions & 2 deletions java/ci/Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ RUN yum install -y git zlib-devel maven tar wget patch
## pre-create the CMAKE_INSTALL_PREFIX folder, set writable by any user for Jenkins
RUN mkdir /usr/local/rapids && mkdir /rapids && chmod 777 /usr/local/rapids && chmod 777 /rapids

RUN cd /usr/local/ && wget --quiet https://github.com/Kitware/CMake/releases/download/v3.19.0/cmake-3.19.0-Linux-x86_64.tar.gz && \
tar zxf cmake-3.19.0-Linux-x86_64.tar.gz
RUN cd /usr/local/ && wget --quiet https://github.com/Kitware/CMake/releases/download/v3.20.5/cmake-3.20.5-linux-x86_64.tar.gz && \
tar zxf cmake-3.20.5-linux-x86_64.tar.gz && \
rm cmake-3.20.5-linux-x86_64.tar.gz
ENV PATH /usr/local/cmake-3.20.5-linux-x86_64/bin:$PATH

# get GDS user-space lib
RUN cd /tmp/ && wget https://developer.download.nvidia.com/gds/redist/rel-0.95.1/gds-redistrib-0.95.1.tgz && \
Expand Down
3 changes: 0 additions & 3 deletions java/ci/build-in-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ export GIT_COMMITTER_EMAIL="[email protected]"
export CUDACXX=/usr/local/cuda/bin/nvcc
export LIBCUDF_KERNEL_CACHE_PATH=/rapids

# add cmake 3.19 to PATH
export PATH=/usr/local/cmake-3.19.0-Linux-x86_64/bin:$PATH

###### Build libcudf ######
rm -rf "$WORKSPACE/cpp/build"
mkdir -p "$WORKSPACE/cpp/build"
Expand Down

0 comments on commit 14717af

Please sign in to comment.