[v1,10/25] tests/docker: Added libbpf library to the docker files.

Message ID 20210419145435.14083-11-alex.bennee@linaro.org
State Superseded
Headers show
Series
  • testing/next (hexagon/tricore/test cc)
Related show

Commit Message

Alex Bennée April 19, 2021, 2:54 p.m.
From: Andrew Melnychenko <andrew@daynix.com>


The series of patches for eBPF RSS adds libbpf dependency for qemu.
https://lists.gnu.org/archive/html/qemu-devel/2021-03/msg08887.html

With this patch, libbpf added:
  Alpine - added libbpf-dev
  Centos 8 - added libbpf-devel
  Fedora - added libbpf-devel

Signed-off-by: Andrew Melnychenko <andrew@daynix.com>

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

Message-Id: <20210406082947.672708-2-andrew@daynix.com>
---
 tests/docker/dockerfiles/alpine.docker  | 1 +
 tests/docker/dockerfiles/centos8.docker | 1 +
 tests/docker/dockerfiles/fedora.docker  | 1 +
 3 files changed, 3 insertions(+)

-- 
2.20.1

Comments

Willian Rampazzo April 23, 2021, 6:39 p.m. | #1
On Mon, Apr 19, 2021 at 11:54 AM Alex Bennée <alex.bennee@linaro.org> wrote:
>

> From: Andrew Melnychenko <andrew@daynix.com>

>

> The series of patches for eBPF RSS adds libbpf dependency for qemu.

> https://lists.gnu.org/archive/html/qemu-devel/2021-03/msg08887.html

>

> With this patch, libbpf added:

>   Alpine - added libbpf-dev

>   Centos 8 - added libbpf-devel

>   Fedora - added libbpf-devel

>

> Signed-off-by: Andrew Melnychenko <andrew@daynix.com>

> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

> Message-Id: <20210406082947.672708-2-andrew@daynix.com>

> ---

>  tests/docker/dockerfiles/alpine.docker  | 1 +

>  tests/docker/dockerfiles/centos8.docker | 1 +

>  tests/docker/dockerfiles/fedora.docker  | 1 +

>  3 files changed, 3 insertions(+)

>


Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Philippe Mathieu-Daudé April 23, 2021, 10:30 p.m. | #2
On 4/19/21 4:54 PM, Alex Bennée wrote:
> From: Andrew Melnychenko <andrew@daynix.com>

> 

> The series of patches for eBPF RSS adds libbpf dependency for qemu.

> https://lists.gnu.org/archive/html/qemu-devel/2021-03/msg08887.html

> 

> With this patch, libbpf added:

>   Alpine - added libbpf-dev

>   Centos 8 - added libbpf-devel

>   Fedora - added libbpf-devel

> 

> Signed-off-by: Andrew Melnychenko <andrew@daynix.com>

> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

> Message-Id: <20210406082947.672708-2-andrew@daynix.com>

> ---

>  tests/docker/dockerfiles/alpine.docker  | 1 +

>  tests/docker/dockerfiles/centos8.docker | 1 +

>  tests/docker/dockerfiles/fedora.docker  | 1 +

>  3 files changed, 3 insertions(+)


Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

Patch

diff --git a/tests/docker/dockerfiles/alpine.docker b/tests/docker/dockerfiles/alpine.docker
index d63a269aef..998a7584ed 100644
--- a/tests/docker/dockerfiles/alpine.docker
+++ b/tests/docker/dockerfiles/alpine.docker
@@ -19,6 +19,7 @@  ENV PACKAGES \
 	gnutls-dev \
 	gtk+3.0-dev \
 	libaio-dev \
+	libbpf-dev \
 	libcap-ng-dev \
 	libjpeg-turbo-dev \
 	libnfs-dev \
diff --git a/tests/docker/dockerfiles/centos8.docker b/tests/docker/dockerfiles/centos8.docker
index a8c6c528b0..efc1349cc8 100644
--- a/tests/docker/dockerfiles/centos8.docker
+++ b/tests/docker/dockerfiles/centos8.docker
@@ -14,6 +14,7 @@  ENV PACKAGES \
     git \
     glib2-devel \
     libaio-devel \
+    libbpf-devel \
     libepoxy-devel \
     libfdt-devel \
     libgcrypt-devel \
diff --git a/tests/docker/dockerfiles/fedora.docker b/tests/docker/dockerfiles/fedora.docker
index 915fdc1845..483f2d9f83 100644
--- a/tests/docker/dockerfiles/fedora.docker
+++ b/tests/docker/dockerfiles/fedora.docker
@@ -32,6 +32,7 @@  ENV PACKAGES \
     libcurl-devel \
     libepoxy-devel \
     libfdt-devel \
+    libbpf-devel \
     libiscsi-devel \
     libjpeg-devel \
     libpmem-devel \