8000 cudf/java/ci at main · dominicshanshan/cudf · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
 
 

ci

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Build Jar artifact of cuDF

Build the docker image

Prerequisite

  1. Docker should be installed.
  2. nvidia-docker should be installed.

Build the docker image

In the root path of cuDF repo, run below command to build the docker image.

docker build -f java/ci/Dockerfile.centos7 --build-arg CUDA_VERSION=10.1 -t cudf-build:10.1-devel-centos7 .

We support different CUDA versions as below:

  • 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.

Start the docker then build

Start the docker

Run below command to start a docker container with GPU.

nvidia-docker run -it cudf-build:10.1-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.

git clone --recursive https://github.com/rapidsai/cudf.git -b branch-0.17

Build cuDF jar

cd cudf
export WORKSPACE=`pwd`
scl enable devtoolset-7 "java/ci/build-in-docker.sh"

The output

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

0