[2/2] app/graph: fix build reason
Checks
Commit Message
When a component is disabled, the reason meson variable must be set to
provide an explanation why.
Since epoll is a Linux thing, report that the graph application is only
supported on Linux.
Fixes: 5b21ffb23308 ("app/graph: add CLI framework")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
app/graph/meson.build | 1 +
1 file changed, 1 insertion(+)
Comments
On Wed, Jan 31, 2024 at 06:45:52PM +0100, David Marchand wrote:
> When a component is disabled, the reason meson variable must be set to
> provide an explanation why.
>
> Since epoll is a Linux thing, report that the graph application is only
> supported on Linux.
>
> Fixes: 5b21ffb23308 ("app/graph: add CLI framework")
> Cc: stable@dpdk.org
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
Acked-by: Chengwen Feng <fengchengwen@huawei.com>
On 2024/2/1 1:45, David Marchand wrote:
> When a component is disabled, the reason meson variable must be set to
> provide an explanation why.
>
> Since epoll is a Linux thing, report that the graph application is only
> supported on Linux.
>
> Fixes: 5b21ffb23308 ("app/graph: add CLI framework")
> Cc: stable@dpdk.org
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
> app/graph/meson.build | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/app/graph/meson.build b/app/graph/meson.build
> index 5b0f966d99..8aefdf505c 100644
> --- a/app/graph/meson.build
> +++ b/app/graph/meson.build
> @@ -5,6 +5,7 @@
> name = 'graph'
> build = cc.has_header('sys/epoll.h')
> if not build
> + reason = 'only supported on Linux'
> subdir_done()
> endif
>
>
On Wed, Jan 31, 2024 at 6:46 PM David Marchand
<david.marchand@redhat.com> wrote:
>
> When a component is disabled, the reason meson variable must be set to
> provide an explanation why.
>
> Since epoll is a Linux thing, report that the graph application is only
> supported on Linux.
>
> Fixes: 5b21ffb23308 ("app/graph: add CLI framework")
> Cc: stable@dpdk.org
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>
> ---
> app/graph/meson.build | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/app/graph/meson.build b/app/graph/meson.build
> index 5b0f966d99..8aefdf505c 100644
> --- a/app/graph/meson.build
> +++ b/app/graph/meson.build
> @@ -5,6 +5,7 @@
> name = 'graph'
> build = cc.has_header('sys/epoll.h')
> if not build
> + reason = 'only supported on Linux'
> subdir_done()
> endif
>
Series applied, thanks.
@@ -5,6 +5,7 @@
name = 'graph'
build = cc.has_header('sys/epoll.h')
if not build
+ reason = 'only supported on Linux'
subdir_done()
endif