Skip to content
Snippets Groups Projects

Base oneapi_jug_xl off jug_xl

Merged Ujwal Kundur requested to merge ujwalk-oneapi-cuda-patch into master
All threads resolved!
1 file
+ 0
16
Compare changes
  • Side-by-side
  • Inline
@@ -250,11 +250,7 @@ ENV CLICOLOR_FORCE=1 \
@@ -250,11 +250,7 @@ ENV CLICOLOR_FORCE=1 \
## Install additional packages. Remove the auto-cleanup functionality
## Install additional packages. Remove the auto-cleanup functionality
## for docker, as we're using the new buildkit cache instead.
## for docker, as we're using the new buildkit cache instead.
## We install gcc-10 and g++-10 as they are not installed by default in
## We install gcc-10 and g++-10 as they are not installed by default in
<<<<<<< HEAD
## Ubuntu 20.04.
## Ubuntu 20.04.
=======
## Ubuntu 20.04. Install CUDA runtime libraries.
>>>>>>> Add CUDA libraries
## TODO: libyaml-cpp-dev is a dependency for afterburner. We can probably remove
## TODO: libyaml-cpp-dev is a dependency for afterburner. We can probably remove
## this once afterburner is added to spack
## this once afterburner is added to spack
RUN --mount=type=cache,target=/var/cache/apt \
RUN --mount=type=cache,target=/var/cache/apt \
@@ -326,24 +322,12 @@ RUN --mount=type=cache,target=/var/cache/apt \
@@ -326,24 +322,12 @@ RUN --mount=type=cache,target=/var/cache/apt \
cuda-cudart-11-7 \
cuda-cudart-11-7 \
cuda-compat-11-7 \
cuda-compat-11-7 \
&& apt-get -yqq autoremove \
&& apt-get -yqq autoremove \
<<<<<<< HEAD
<<<<<<< HEAD
&& ln -s cuda-11.7 /usr/local/cuda \
&& ln -s cuda-11.7 /usr/local/cuda \
=======
&& ln -s cuda-11.7 /usr/local/cuda && \
>>>>>>> Add CUDA Post-Install commands
&& rm -rf /var/lib/apt/lists/*
&& rm -rf /var/lib/apt/lists/*
ENV PATH /usr/local/nvidia/bin:/usr/local/cuda/bin:${PATH}
ENV PATH /usr/local/nvidia/bin:/usr/local/cuda/bin:${PATH}
ENV LD_LIBRARY_PATH /usr/local/nvidia/lib:/usr/local/nvidia/lib64
ENV LD_LIBRARY_PATH /usr/local/nvidia/lib:/usr/local/nvidia/lib64
<<<<<<< HEAD
=======
&& rm -rf /var/lib/apt/lists/*
>>>>>>> Add CUDA libraries
=======
>>>>>>> Add CUDA Post-Install commands
## copy over everything we need from staging in a single layer
## copy over everything we need from staging in a single layer
RUN --mount=from=staging,target=/staging \
RUN --mount=from=staging,target=/staging \
rm -rf /usr/local \
rm -rf /usr/local \
Loading