ci: Add NVPL to Debian aarch64 base image

This commit is contained in:
Brad King 2025-02-24 16:26:23 -05:00
parent d3484a31c6
commit 6ce494ed6d
3 changed files with 14 additions and 3 deletions

View File

@ -2,7 +2,15 @@
ARG BASE_IMAGE=arm64v8/debian:12
FROM ${BASE_IMAGE} AS apt-cache
FROM ${BASE_IMAGE} AS cuda-keyring
ADD https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/sbsa/cuda-keyring_1.1-1_all.deb /root/
RUN --mount=type=tmpfs,target=/var/log \
apt-get update \
&& apt-get -y install ca-certificates \
&& dpkg -i /root/cuda-keyring_1.1-1_all.deb \
&& rm /root/cuda-keyring_1.1-1_all.deb
FROM cuda-keyring AS apt-cache
# Populate APT cache w/ the fresh metadata and prefetch packages.
# Use an empty `docker-clean` file to "hide" the image-provided
# file to disallow removing packages after `apt-get` operations.
@ -12,7 +20,7 @@ RUN --mount=type=tmpfs,target=/var/log \
apt-get update \
&& apt-get --download-only -y install $(grep -h '^[^#]\+$' /root/*.lst)
FROM ${BASE_IMAGE}
FROM cuda-keyring
LABEL maintainer="Brad King <brad.king@kitware.com>"
RUN --mount=type=bind,source=install_deps.sh,target=/root/install_deps.sh \

View File

@ -69,6 +69,9 @@ libjsoncpp-dev
liblapack-dev
liblzma-dev
libmagick++-dev
libnvpl-blas-dev
libnvpl-common-dev
libnvpl-lapack-dev
libopenal-dev
libopenmpi-dev openmpi-bin
libosp-dev

View File

@ -74,7 +74,7 @@
CMAKE_CI_NO_INSTALL: 1
.debian12_aarch64:
image: "kitware/cmake:ci-debian12-aarch64-2023-07-27"
image: "kitware/cmake:ci-debian12-aarch64-2025-02-24"
variables:
GIT_CLONE_PATH: "$CI_BUILDS_DIR/cmake ci"