numam-dpdk/examples/vm_power_manager
David Marchand f01ca13fca examples: skip build when missing dependencies
Trying to disable the vhost library, meson will complain it can't build
the vhost* and vdpa examples when passing -Dexamples=all.

-Dexamples=all skips examples if the example itself announces it can't
be built (for external dependencies, internal dependencies and other
reasons).
Since examples/meson.build will evaluate the internal dependencies
in any case, let's move the check there and resolve the issue for
optional internal libraries.

Fixes: 0bf5832222 ("lib: allow disabling optional libraries")

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2021-11-10 11:42:34 +01:00
..
guest_cli examples: skip build when missing dependencies 2021-11-10 11:42:34 +01:00
channel_manager.c examples: remove unneeded atomic header include 2021-10-19 17:16:57 +02:00
channel_manager.h examples: remove unneeded atomic header include 2021-10-19 17:16:57 +02:00
channel_monitor.c examples/vm_power: use compiler atomics for sync 2021-10-19 17:16:54 +02:00
channel_monitor.h power: clean up includes 2021-01-29 11:25:40 +01:00
main.c ethdev: add namespace 2021-10-22 18:15:38 +02:00
Makefile examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
meson.build examples: skip build when missing dependencies 2021-11-10 11:42:34 +01:00
oob_monitor_nop.c examples/vm_power_manager: fix build 2020-04-17 23:22:15 +02:00
oob_monitor_x86.c examples/vm_power: allow managing idle cores 2020-07-17 14:40:56 +02:00
oob_monitor.h examples/vm_power: add oob monitoring functions 2018-07-20 22:53:17 +02:00
parse.c examples/vm_power: make branch ratio threshold per core 2020-07-17 14:40:56 +02:00
parse.h examples/vm_power: make branch ratio threshold per core 2020-07-17 14:40:56 +02:00
power_manager.c examples/vm_power: respect core mask 2021-01-28 23:17:18 +01:00
power_manager.h examples/vm_power: make branch ratio threshold per core 2020-07-17 14:40:56 +02:00
vm_power_cli.c power: clean up includes 2021-01-29 11:25:40 +01:00
vm_power_cli.h replace unused attributes 2020-04-16 18:30:58 +02:00