Skip to content

Commit

Permalink
Remove cudatoolkit caching for now
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed May 13, 2020
1 parent 2aba024 commit 2ca59df
Showing 1 changed file with 11 additions and 22 deletions.
33 changes: 11 additions & 22 deletions linux-anvil-ppc64le-cuda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,28 +47,17 @@ RUN /opt/docker/bin/run_commands
RUN source /opt/conda/etc/profile.d/conda.sh && \
conda activate && \
conda create -n test --yes --quiet --download-only \
defaults::binutils_impl_linux-ppc64le \
defaults::binutils_linux-ppc64le \
defaults::gcc_impl_linux-ppc64le \
defaults::gcc_linux-ppc64le \
defaults::gfortran_impl_linux-ppc64le \
defaults::gfortran_linux-ppc64le \
defaults::gxx_impl_linux-ppc64le \
defaults::gxx_linux-ppc64le \
defaults::libgcc-ng \
defaults::libgfortran-ng \
defaults::libstdcxx-ng && \
conda remove --yes --quiet -n test --all && \
conda clean -tiy && \
chgrp -R lucky /opt/conda && \
chmod -R g=u /opt/conda

# Download and cache CUDA related packages.
RUN source /opt/conda/etc/profile.d/conda.sh && \
conda activate && \
conda create -n test --yes --quiet --download-only \
defaults::cudatoolkit=${CUDA_VER} \
defaults::cudnn && \
conda-forge::binutils_impl_linux-ppc64le \
conda-forge::binutils_linux-ppc64le \
conda-forge::gcc_impl_linux-ppc64le \
conda-forge::gcc_linux-ppc64le \
conda-forge::gfortran_impl_linux-ppc64le \
conda-forge::gfortran_linux-ppc64le \
conda-forge::gxx_impl_linux-ppc64le \
conda-forge::gxx_linux-ppc64le \
conda-forge::libgcc-ng \
conda-forge::libgfortran-ng \
conda-forge::libstdcxx-ng && \
conda remove --yes --quiet -n test --all && \
conda clean -tiy && \
chgrp -R lucky /opt/conda && \
Expand Down

0 comments on commit 2ca59df

Please sign in to comment.