Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save cyrusbehr/2fc0f7ec91dee9e98e217e74ce3c33bf to your computer and use it in GitHub Desktop.
Save cyrusbehr/2fc0f7ec91dee9e98e217e74ce3c33bf to your computer and use it in GitHub Desktop.
Step 2
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
build-essential \
ninja-build \
git \
wget \
zip \
unzip \
python3 \
python3-pip \
awscli \
curl \
crossbuild-essential-arm64 \
&& rm -rf /var/lib/apt/lists/*
# cmake on Ubuntu 18.04 is too old
RUN python3 -m pip install cmake
# ccache on Ubuntu 18.04 is too old to support Cuda correctly
COPY scripts/deb_ubuntu_ccache.sh /work/
RUN /work/deb_ubuntu_ccache.sh
COPY toolchains/aarch64-linux-gnu-toolchain.cmake /usr
ENV CMAKE_TOOLCHAIN_FILE=/usr/aarch64-linux-gnu-toolchain.cmake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment