Skip to content

Commit

Permalink
update cudfJni build env to gcc 9.3+ (#7933)
Browse files Browse the repository at this point in the history
Signed-off-by: Peixin Li <[email protected]>

update cudfjni build env to gcc 9.3+ as required.

Authors:
  - pxLi (https://github.com/pxLi)

Approvers:
  - https://github.com/NvTimLiu
  - https://github.com/GaryShen2008

URL: #7933
  • Loading branch information
pxLi authored Apr 12, 2021
1 parent 738d6a2 commit 9433ac9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions java/ci/Dockerfile.centos7
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ FROM nvidia/cuda:$CUDA_VERSION-devel-centos7

### Install basic requirements
RUN yum install -y centos-release-scl
RUN yum install -y devtoolset-8 epel-release
RUN yum install -y devtoolset-9 epel-release
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
Expand All @@ -34,7 +34,7 @@ RUN mkdir /usr/local/rapids && mkdir /rapids && chmod 777 /usr/local/rapids && c
RUN cd /rapids/ && wget https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.gz && \
tar zxf boost_1_72_0.tar.gz && \
cd boost_1_72_0 && \
scl enable devtoolset-8 "./bootstrap.sh --prefix=/usr && ./b2 install --with-filesystem threading=multi link=static cxxflags=-fPIC; exit 0"
scl enable devtoolset-9 "./bootstrap.sh --prefix=/usr && ./b2 install --with-filesystem threading=multi link=static cxxflags=-fPIC; exit 0"

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
4 changes: 3 additions & 1 deletion java/ci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ docker build -f java/ci/Dockerfile.centos7 --build-arg CUDA_VERSION=11.0 -t cudf

The following CUDA versions are supported:
* CUDA 11.0
* CUDA 11.1
* CUDA 11.2

Change the --build-arg CUDA_VERSION to what you need.
You can replace the tag "cudf-build:11.0-devel-centos7" with another name you like.
Expand All @@ -42,7 +44,7 @@ git clone --recursive https://github.com/rapidsai/cudf.git -b branch-0.20
```bash
cd cudf
export WORKSPACE=`pwd`
scl enable devtoolset-8 "java/ci/build-in-docker.sh"
scl enable devtoolset-9 "java/ci/build-in-docker.sh"
```

### The output
Expand Down

0 comments on commit 9433ac9

Please sign in to comment.