Skip to content

Commit

Permalink
Update JNI build ENV default to gcc 11 (#12881)
Browse files Browse the repository at this point in the history
related to #2568

update JNI dockerfile default to gcc 11.

mark as draft for review first, will verify after #12868

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

Approvers:
  - Jason Lowe (https://github.com/jlowe)

URL: #12881
  • Loading branch information
pxLi authored Mar 7, 2023
1 parent 98b92a5 commit 0ee82c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions java/ci/Dockerfile.centos7
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2020-2022, NVIDIA CORPORATION. All rights reserved.
# Copyright (c) 2020-2023, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -24,7 +24,7 @@ ARG CUDA_VERSION=11.8.0
FROM nvidia/cuda:$CUDA_VERSION-devel-centos7

### Install basic requirements
ARG DEVTOOLSET_VERSION=9
ARG DEVTOOLSET_VERSION=11
RUN yum install -y centos-release-scl
RUN yum install -y devtoolset-${DEVTOOLSET_VERSION} epel-release
RUN yum install -y git zlib-devel maven tar wget patch ninja-build
Expand Down
2 changes: 1 addition & 1 deletion java/ci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ git clone --recursive https://github.com/rapidsai/cudf.git -b branch-23.04
```bash
cd cudf
export WORKSPACE=`pwd`
scl enable devtoolset-9 "java/ci/build-in-docker.sh"
scl enable devtoolset-11 "java/ci/build-in-docker.sh"
```

### The output
Expand Down

0 comments on commit 0ee82c9

Please sign in to comment.