From 35deeb61af7711e582c461c4c34835b31fc855f3 Mon Sep 17 00:00:00 2001 From: Peixin Li Date: Mon, 15 Nov 2021 09:24:45 +0800 Subject: [PATCH] Update cudf JNI to 22.02.0-SNAPSHOT Signed-off-by: Peixin Li --- java/ci/Dockerfile.centos7 | 8 +++++--- java/ci/README.md | 10 +++++----- java/pom.xml | 2 +- java/src/main/native/CMakeLists.txt | 2 +- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/java/ci/Dockerfile.centos7 b/java/ci/Dockerfile.centos7 index a6264a84696..2ee57bfaeab 100644 --- a/java/ci/Dockerfile.centos7 +++ b/java/ci/Dockerfile.centos7 @@ -17,11 +17,13 @@ ### # Build the image for cudf development environment. # -# Arguments: CUDA_VERSION=11.0, 11.1, 11.2.0 or 11.2.2 +# Arguments: CUDA_VERSION=11.5.0 # ### -ARG CUDA_VERSION -FROM nvidia/cuda:$CUDA_VERSION-devel-centos7 +ARG CUDA_VERSION=11.5.0 +# use rapids gpuci/cuda images until nvidia/cuda cuda 11.5+ images are available in docker hub +# FROM nvidia/cuda:$CUDA_VERSION-devel-centos7 +FROM gpuci/cuda:$CUDA_VERSION-devel-centos7 ### Install basic requirements RUN yum install -y centos-release-scl diff --git a/java/ci/README.md b/java/ci/README.md index 5432dc8d0f1..0e947b62511 100644 --- a/java/ci/README.md +++ b/java/ci/README.md @@ -11,14 +11,14 @@ In the root path of cuDF repo, run below command to build the docker image. ```bash -docker build -f java/ci/Dockerfile.centos7 --build-arg CUDA_VERSION=11.2.2 -t cudf-build:11.2.2-devel-centos7 . +docker build -f java/ci/Dockerfile.centos7 --build-arg CUDA_VERSION=11.5.0 -t cudf-build:11.5.0-devel-centos7 . ``` The following CUDA versions are supported w/ CUDA Enhanced Compatibility: * CUDA 11.0+ Change the --build-arg CUDA_VERSION to what you need. -You can replace the tag "cudf-build:11.2.2-devel-centos7" with another name you like. +You can replace the tag "cudf-build:11.5.0-devel-centos7" with another name you like. ## Start the docker then build @@ -26,7 +26,7 @@ You can replace the tag "cudf-build:11.2.2-devel-centos7" with another name you Run below command to start a docker container with GPU. ```bash -nvidia-docker run -it cudf-build:11.2.2-devel-centos7 bash +nvidia-docker run -it cudf-build:11.5.0-devel-centos7 bash ``` ### Download the cuDF source code @@ -34,7 +34,7 @@ nvidia-docker run -it cudf-build:11.2.2-devel-centos7 bash You can download the cuDF repo in the docker container or you can mount it into the container. Here I choose to download again in the container. ```bash -git clone --recursive https://github.com/rapidsai/cudf.git -b branch-21.12 +git clone --recursive https://github.com/rapidsai/cudf.git -b branch-22.02 ``` ### Build cuDF jar with devtoolset @@ -47,5 +47,5 @@ scl enable devtoolset-9 "java/ci/build-in-docker.sh" ### The output -You can find the cuDF jar in java/target/ like cudf-21.12.0-SNAPSHOT-cuda11.jar. +You can find the cuDF jar in java/target/ like cudf-22.02.0-SNAPSHOT-cuda11.jar. diff --git a/java/pom.xml b/java/pom.xml index 356d94455c8..87d43ec1272 100755 --- a/java/pom.xml +++ b/java/pom.xml @@ -21,7 +21,7 @@ ai.rapids cudf - 21.12.0-SNAPSHOT + 22.02.0-SNAPSHOT cudfjni diff --git a/java/src/main/native/CMakeLists.txt b/java/src/main/native/CMakeLists.txt index d9fc3f337e7..a5a6646c7e6 100755 --- a/java/src/main/native/CMakeLists.txt +++ b/java/src/main/native/CMakeLists.txt @@ -26,7 +26,7 @@ rapids_cuda_init_architectures(CUDF_JNI) project( CUDF_JNI - VERSION 21.12.00 + VERSION 22.02.00 LANGUAGES C CXX CUDA )