diff --git a/.github/docker/rhel.Dockerfile b/.github/docker/rhel.Dockerfile new file mode 100644 index 00000000..d8869fa2 --- /dev/null +++ b/.github/docker/rhel.Dockerfile @@ -0,0 +1,8 @@ +# syntax=docker/dockerfile:1.4 + +ARG VMAJ +ARG VMIN + +FROM ghcr.io/oneapi-src/level-zero-linux-compute/rhel:${VMAJ}.${VMIN} + +SHELL ["/bin/bash", "-e", "-c"] \ No newline at end of file diff --git a/.github/docker/sles.Dockerfile b/.github/docker/sles.Dockerfile new file mode 100644 index 00000000..7991c4cc --- /dev/null +++ b/.github/docker/sles.Dockerfile @@ -0,0 +1,8 @@ +# 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"] \ No newline at end of file diff --git a/.github/docker/ubuntu.Dockerfile b/.github/docker/ubuntu.Dockerfile new file mode 100644 index 00000000..29fcb0a6 --- /dev/null +++ b/.github/docker/ubuntu.Dockerfile @@ -0,0 +1,58 @@ +# syntax=docker/dockerfile:1.4 + +ARG VMAJ +ARG VMIN +FROM ghcr.io/oneapi-src/level-zero-linux-compute/ubuntu:${VMAJ}.${VMIN} + +ARG VMAJ +ARG VMIN + +SHELL ["/bin/bash", "-e", "-c"] + +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)); then echo \ + gcc-10-aarch64-linux-gnu \ + g++-10-aarch64-linux-gnu; fi) \ + libc6:arm64 \ + libstdc++6:arm64; fi) \ + git \ + ninja-build +rm -rf /var/lib/apt/lists/* +EOF + +# Make newest version of aarch64 toolchain the default and enable switching. +RUN <