From 4e684bac5b785af159ecabac66ac767340c12a84 Mon Sep 17 00:00:00 2001 From: Arkadiusz Szczepkowicz Date: Thu, 23 Feb 2023 17:11:08 +0100 Subject: [PATCH] #281: Update nvcc_wraper to the version from master branch --- ci/docker/ubuntu-20.04-nvidia-cpp.dockerfile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/ci/docker/ubuntu-20.04-nvidia-cpp.dockerfile b/ci/docker/ubuntu-20.04-nvidia-cpp.dockerfile index 93156124..50f1fd67 100644 --- a/ci/docker/ubuntu-20.04-nvidia-cpp.dockerfile +++ b/ci/docker/ubuntu-20.04-nvidia-cpp.dockerfile @@ -91,15 +91,13 @@ COPY ./ci/deps/kokkos.sh kokkos.sh RUN ./kokkos.sh 3.6.00 /pkgs 0 ENV KOKKOS_ROOT=/pkgs/kokkos/install/lib -RUN git clone https://github.com/kokkos/nvcc_wrapper.git && \ - cd nvcc_wrapper && \ - mkdir build && \ - cd build && \ - cmake ../ +RUN mkdir -p /nvcc_wrapper/build && \ + wget https://raw.githubusercontent.com/kokkos/kokkos/master/bin/nvcc_wrapper -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 COPY ./ci/deps/kokkos-kernels.sh kokkos-kernels.sh RUN ./kokkos-kernels.sh 3.6.00 /pkgs