diff --git a/.github/docker/rhel.Dockerfile b/.github/docker/rhel.Dockerfile new file mode 100644 index 00000000..f06d60ad --- /dev/null +++ b/.github/docker/rhel.Dockerfile @@ -0,0 +1,5 @@ +# syntax=docker/dockerfile:1.4 + +ARG VMAJ +ARG VMIN +FROM ghcr.io/oneapi-src/level-zero-linux-compute/rhel:${VMAJ}.${VMIN} diff --git a/.github/docker/sles.Dockerfile b/.github/docker/sles.Dockerfile new file mode 100644 index 00000000..f19d52be --- /dev/null +++ b/.github/docker/sles.Dockerfile @@ -0,0 +1,25 @@ +# syntax=docker/dockerfile:1.4 + +ARG VMAJ +ARG VMIN +FROM ghcr.io/oneapi-src/level-zero-linux-compute/sles:${VMAJ}.${VMIN} + +SHELL ["/bin/bash", "-e", "-c"] + +# Static libraries for boost are not part of the SLES distribution +RUN <> /etc/apt/sources.list +echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ ${DISTRIB_CODENAME}-updates main restricted universe multiverse" >> /etc/apt/sources.list +echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ ${DISTRIB_CODENAME}-security main restricted universe multiverse" >> /etc/apt/sources.list +echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ ${DISTRIB_CODENAME}-backports main restricted universe multiverse" >> /etc/apt/sources.list +dpkg --add-architecture arm64 +EOF + +ENV DEBIAN_FRONTEND=noninteractive +# /etc/apt/apt.conf.d/docker-clean doesn't work on older versions of docker for U2204 containers +RUN --mount=type=cache,target=/var/cache/apt <= 20)) && echo \ + gcc-10-aarch64-linux-gnu \ + g++-10-aarch64-linux-gnu) \ + libc6:arm64 \ + libstdc++6:arm64 \ + libpapi-dev \ + libpapi-dev:arm64 \ + libpng-dev \ + libpng-dev:arm64 \ + libva-dev \ + libva-dev:arm64 \ + ocl-icd-opencl-dev \ + ocl-icd-opencl-dev:arm64 \ + opencl-headers \ + python3 \ + python3-pip +rm -rf /var/lib/apt/lists/* +EOF + +# Make newest version of aarch64 toolchain the default and enable switching. +RUN <