[3/5] distributor: skip building if power library not found
Checks
Commit Message
The power library is not built on non-Linux systems, so skip the
distributor sample if it's not found, as it's a mandatory dependency.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
examples/distributor/meson.build | 3 +++
1 file changed, 3 insertions(+)
Comments
On 9/4/2019 10:29 AM, Bruce Richardson wrote:
> The power library is not built on non-Linux systems, so skip the
> distributor sample if it's not found, as it's a mandatory dependency.
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> ---
> examples/distributor/meson.build | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/examples/distributor/meson.build b/examples/distributor/meson.build
> index 8cf2ca1da..26f108d65 100644
> --- a/examples/distributor/meson.build
> +++ b/examples/distributor/meson.build
> @@ -6,6 +6,9 @@
> # To build this example as a standalone application with an already-installed
> # DPDK instance, use 'make'
>
> +# require the power library
> +build = dpdk_conf.has('RTE_LIBRTE_POWER')
> +
> deps += ['distributor', 'power']
> sources = files(
> 'main.c'
Acked-by: David Hunt <david.hunt@intel.com>
On Tue, 2019-04-09 at 10:29 +0100, Bruce Richardson wrote:
> The power library is not built on non-Linux systems, so skip the
> distributor sample if it's not found, as it's a mandatory dependency.
>
> Signed-off-by: Bruce Richardson <
> bruce.richardson@intel.com
> >
> ---
> examples/distributor/meson.build | 3 +++
> 1 file changed, 3 insertions(+)
Acked-by: Luca Boccassi <bluca@debian.org>
@@ -6,6 +6,9 @@
# To build this example as a standalone application with an already-installed
# DPDK instance, use 'make'
+# require the power library
+build = dpdk_conf.has('RTE_LIBRTE_POWER')
+
deps += ['distributor', 'power']
sources = files(
'main.c'