Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#281: Update nvcc_wraper to the version from master branch #284

Merged
merged 1 commit into from
Mar 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions ci/docker/ubuntu-20.04-nvidia-cpp.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down