You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN apt-get -y install -o APT::Immediate-Configure=false \
6
+
git wget vim ninja-build crossbuild-essential-arm64 zlib1g-dev:arm64 libbz2-dev:arm64 software-properties-common
7
+
8
+
ENV CC=/usr/bin/aarch64-linux-gnu-gcc
9
+
ENV CXX=/usr/bin/aarch64-linux-gnu-g++
10
+
ENV CUDAHOSTCXX=/usr/bin/aarch64-linux-gnu-g++
11
+
ENV CUDACXX=/usr/local/cuda/bin/nvcc
12
+
ENV LIBGCC=/usr/lib/gcc-cross/aarch64-linux-gnu/8
13
+
ENV CUDAFLAGS="-t 0 --split-compile=0"
14
+
15
+
RUN wget https://github.com/Kitware/CMake/releases/download/v3.31.0/cmake-3.31.0-linux-x86_64.sh; \
RUN wget -O cuda-x64.deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.1-1_all.deb
20
+
RUN wget -O cuda-sbsa.deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/cross-linux-sbsa/cuda-keyring_1.1-1_all.deb
21
+
RUN dpkg -i cuda-x64.deb && dpkg -i cuda-sbsa.deb
22
+
RUN apt-get update
23
+
RUN apt-get install -y cuda-nvcc-${VER} cuda-nvcc-cross-sbsa-${VER} cuda-cudart-cross-sbsa-${VER}
24
+
25
+
WORKDIR /work
26
+
ADD . .
27
+
RUN echo "set(CMAKE_SYSTEM_NAME Linux)" > /work/toolchain.cmake; \
0 commit comments