Skip to content

Commit

Permalink
Merge pull request #127 from isuruf/c4aarch64
Browse files Browse the repository at this point in the history
Bye bye c4aarch64
  • Loading branch information
scopatz authored Feb 12, 2020
2 parents b1b6726 + e6ec634 commit a79b84d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
23 changes: 11 additions & 12 deletions linux-anvil-aarch64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,20 @@ RUN /opt/docker/bin/run_commands

# Download and cache new compiler packages.
# Should speedup installation of them on CIs.
ENV _channel="c4aarch64"
RUN source /opt/conda/etc/profile.d/conda.sh && \
conda activate && \
conda create -n test --yes --quiet --download-only \
$_channel::binutils_impl_linux-aarch64 \
$_channel::binutils_linux-aarch64 \
$_channel::gcc_impl_linux-aarch64 \
$_channel::gcc_linux-aarch64 \
$_channel::gfortran_impl_linux-aarch64 \
$_channel::gfortran_linux-aarch64 \
$_channel::gxx_impl_linux-aarch64 \
$_channel::gxx_linux-aarch64 \
$_channel::libgcc-ng \
$_channel::libgfortran-ng \
$_channel::libstdcxx-ng && \
conda-forge::binutils_impl_linux-aarch64 \
conda-forge::binutils_linux-aarch64 \
conda-forge::gcc_impl_linux-aarch64 \
conda-forge::gcc_linux-aarch64 \
conda-forge::gfortran_impl_linux-aarch64 \
conda-forge::gfortran_linux-aarch64 \
conda-forge::gxx_impl_linux-aarch64 \
conda-forge::gxx_linux-aarch64 \
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
6 changes: 2 additions & 4 deletions scripts/run_commands
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@ elif [ "$(uname -m)" = "ppc64le" ]; then
export conda_chksum="9de38932ed6a8865562e6057b578694f"
elif [ "$(uname -m)" = "aarch64" ]; then
export supkg="su-exec"
export condapkg="https://github.com/jjhelmus/conda4aarch64/releases/download/1.0.0/c4aarch64_installer-1.0.0-Linux-aarch64.sh"
export conda_chksum="7f6f3c6ac5895188766218f222feb131"
# defaults is not enough
export additional_channel="--add channels c4aarch64"
export condapkg="https://github.com/conda-forge/miniforge/releases/download/4.8.2-1/Miniforge3-4.8.2-1-Linux-aarch64.sh"
export conda_chksum="5cb1651b53052a76d8c2273309578889"
elif [ "$(uname -m)" = "armv7l" ]; then
export supkg="su-exec"
export condapkg="https://github.com/jjhelmus/conda4armv7l/releases/download/1.0.0/conda4armv7l_installer-1.0.0-Linux-armv7l.sh"
Expand Down

0 comments on commit a79b84d

Please sign in to comment.