mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
ci: enable build with amdgpu plugin
This patch adds the `libdrm-dev` package to the list of CRIU dependencies installed in CI to build CRIU with amdgpu plugin. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
parent
aa38a59899
commit
ba168ab78c
6 changed files with 12 additions and 4 deletions
|
|
@ -23,6 +23,7 @@ RUN apk update && apk add \
|
|||
python3 \
|
||||
sudo \
|
||||
libcap-utils \
|
||||
libdrm-dev \
|
||||
util-linux
|
||||
|
||||
COPY . /criu
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ RUN pacman -Syu --noconfirm \
|
|||
asciidoctor \
|
||||
python-junit-xml \
|
||||
python-importlib-metadata \
|
||||
libdrm \
|
||||
diffutils
|
||||
|
||||
COPY . /criu
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ dnf install -y \
|
|||
which \
|
||||
e2fsprogs \
|
||||
rubygem-asciidoctor \
|
||||
libdrm-devel \
|
||||
kmod
|
||||
|
||||
# /tmp is no longer 755 in the rawhide container image and breaks CI - fix it
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ CI_PKGS=(protobuf-c-compiler libprotobuf-c-dev libaio-dev libgnutls28-dev
|
|||
libnl-3-dev gdb bash libnet-dev util-linux asciidoctor
|
||||
libnl-route-3-dev time flake8 libbsd-dev python3-yaml
|
||||
libperl-dev pkg-config python3-protobuf python3-pip
|
||||
python3-importlib-metadata python3-junit.xml)
|
||||
python3-importlib-metadata python3-junit.xml libdrm-dev)
|
||||
|
||||
X86_64_PKGS=(gcc-multilib)
|
||||
|
||||
|
|
@ -326,3 +326,8 @@ make -C test/others/action-script run
|
|||
|
||||
# compel testing
|
||||
make -C compel/test
|
||||
|
||||
# amdgpu_plugin testing
|
||||
make amdgpu_plugin
|
||||
make -C plugins/amdgpu/ test_topology_remap
|
||||
./plugins/amdgpu/test_topology_remap
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue