From 34003d1e9ca094ac6747e0fb809028b1e59f76b7 Mon Sep 17 00:00:00 2001 From: Arkadiusz Szczepkowicz Date: Fri, 10 Feb 2023 09:57:42 +0100 Subject: [PATCH] #2075: Remove nvcc warning for depracated gpus --- ci/docker/ubuntu-nvidia-cpp.dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ci/docker/ubuntu-nvidia-cpp.dockerfile b/ci/docker/ubuntu-nvidia-cpp.dockerfile index a2c32ee6e9..84b023ed00 100644 --- a/ci/docker/ubuntu-nvidia-cpp.dockerfile +++ b/ci/docker/ubuntu-nvidia-cpp.dockerfile @@ -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="" @@ -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