Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update Java bindings version to 0.20 [skip ci] #7747

Merged
merged 2 commits into from
Mar 31, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions java/ci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,30 @@

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=10.1 -t cudf-build:10.1-devel-centos7 .
docker build -f java/ci/Dockerfile.centos7 --build-arg CUDA_VERSION=11.0 -t cudf-build:11.0-devel-centos7 .
```

We support different CUDA versions as below:
jlowe marked this conversation as resolved.
Show resolved Hide resolved
* CUDA 10.1
* CUDA 10.2
* CUDA 11.0

Change the --build-arg CUDA_VERSION to what you need.
You can replace the tag "cudf-build:10.1-devel-centos7" with another name you like.
You can replace the tag "cudf-build:11.0-devel-centos7" with another name you like.

## Start the docker then build

### Start the docker

Run below command to start a docker container with GPU.
```bash
nvidia-docker run -it cudf-build:10.1-devel-centos7 bash
nvidia-docker run -it cudf-build:11.0-devel-centos7 bash
```

### Download the cuDF source code

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-0.19
git clone --recursive https://github.com/rapidsai/cudf.git -b branch-0.20
```

### Build cuDF jar with devtoolset
Expand All @@ -49,5 +47,5 @@ scl enable devtoolset-8 "java/ci/build-in-docker.sh"

### The output

You can find the cuDF jar in java/target/ like cudf-0.19-SNAPSHOT-cuda10-1.jar.
You can find the cuDF jar in java/target/ like cudf-0.20-SNAPSHOT-cuda11.jar.

2 changes: 1 addition & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<groupId>ai.rapids</groupId>
<artifactId>cudf</artifactId>
<version>0.19-SNAPSHOT</version>
<version>0.20-SNAPSHOT</version>

<name>cudfjni</name>
<description>
Expand Down