Skip to content

Commit

Permalink
#2075: Remove nvcc warning for depracated gpus
Browse files Browse the repository at this point in the history
  • Loading branch information
thearusable committed Feb 21, 2023
1 parent fc0a771 commit 34003d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ci/docker/ubuntu-nvidia-cpp.dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

ARG compiler=11.0.3
ARG arch=amd64
# Works with 18.04, 20.04 and 22.04
ARG ubuntu=18.04
# Works with 20.04 and 22.04
ARG ubuntu=20.04
FROM --platform=${arch} nvidia/cuda:${compiler}-devel-ubuntu${ubuntu} as base

ARG proxy=""
Expand Down Expand Up @@ -48,8 +48,8 @@ RUN mkdir -p /nvcc_wrapper/build && \
chmod +x /nvcc_wrapper/build/nvcc_wrapper

ENV MPI_EXTRA_FLAGS="" \
CXX=/nvcc_wrapper/build/nvcc_wrapper \
PATH=/usr/lib/ccache/:$PATH
PATH=/usr/lib/ccache/:/nvcc_wrapper/build:$PATH \
CXX=nvcc_wrapper

FROM base as build
COPY . /vt
Expand Down

0 comments on commit 34003d1

Please sign in to comment.