numam-dpdk/examples
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
..
bbdev_app ethdev: add namespace 2021-10-22 18:15:38 +02:00
bond ethdev: add namespace 2021-10-22 18:15:38 +02:00
bpf mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
cmdline doc: use code snippets in sample app guides 2021-07-31 15:42:43 +02:00
distributor examples: skip build when missing dependencies 2021-11-10 11:42:34 +01:00
dma examples/dma: rename ioat application example 2021-10-27 16:53:39 +02:00
ethtool ethdev: add namespace 2021-10-22 18:15:38 +02:00
eventdev_pipeline ethdev: add namespace 2021-10-22 18:15:38 +02:00
fips_validation examples/fips_validation: fix device start 2021-11-04 19:46:27 +01:00
flow_classify ethdev: add namespace 2021-10-22 18:15:38 +02:00
flow_filtering ethdev: add namespace 2021-10-22 18:15:38 +02:00
helloworld doc: use code snippets in sample app guides 2021-07-31 15:42:43 +02:00
ip_fragmentation mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
ip_pipeline examples/ip_pipeline: support PIE congestion management 2021-11-04 15:43:43 +01:00
ip_reassembly mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
ipsec-secgw examples/ipsec-secgw: support event vector 2021-11-04 19:46:27 +01:00
ipv4_multicast ethdev: add namespace 2021-10-22 18:15:38 +02:00
kni examples: skip build when missing dependencies 2021-11-10 11:42:34 +01:00
l2fwd examples/l2fwd: add promiscuous mode option 2021-10-25 22:31:53 +02:00
l2fwd-cat ethdev: fix max Rx packet length 2021-10-18 19:20:20 +02:00
l2fwd-crypto crypto/mlx5: support 1MB data-unit 2021-11-04 19:46:27 +01:00
l2fwd-event ethdev: add namespace 2021-10-22 18:15:38 +02:00
l2fwd-jobstats ethdev: add namespace 2021-10-22 18:15:38 +02:00
l2fwd-keepalive eal: remove FINISHED lcore state 2021-10-25 18:20:59 +02:00
l3fwd fib: add RIB extension size parameter 2021-11-04 12:38:03 +01:00
l3fwd-acl ethdev: add namespace 2021-10-22 18:15:38 +02:00
l3fwd-graph ethdev: add namespace 2021-10-22 18:15:38 +02:00
l3fwd-power examples: skip build when missing dependencies 2021-11-10 11:42:34 +01:00
link_status_interrupt ethdev: add namespace 2021-10-22 18:15:38 +02:00
multi_process ethdev: add namespace 2021-10-22 18:15:38 +02:00
ntb ethdev: add namespace 2021-10-22 18:15:38 +02:00
packet_ordering ethdev: add namespace 2021-10-22 18:15:38 +02:00
performance-thread examples/performance-thread: fix build with ASan 2021-10-29 15:25:34 +02:00
pipeline port: configure loop count for source port 2021-10-25 14:30:32 +02:00
ptpclient mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
qos_meter mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
qos_sched examples/qos_sched: support PIE congestion management 2021-11-04 15:43:24 +01:00
rxtx_callbacks ethdev: add namespace 2021-10-22 18:15:38 +02:00
server_node_efd ethdev: add namespace 2021-10-22 18:15:38 +02:00
service_cores examples/service_cores: fix lcore count check 2021-09-16 17:31:03 +02:00
skeleton ethdev: add namespace 2021-10-22 18:15:38 +02:00
timer doc: use code snippets in sample app guides 2021-07-31 15:42:43 +02:00
vdpa vhost: rename driver callbacks struct 2021-11-03 11:59:27 +01:00
vhost vhost: rename driver callbacks struct 2021-11-03 11:59:27 +01:00
vhost_blk vhost: rename driver callbacks struct 2021-11-03 11:59:27 +01:00
vhost_crypto examples: skip build when missing dependencies 2021-11-10 11:42:34 +01:00
vm_power_manager examples: skip build when missing dependencies 2021-11-10 11:42:34 +01:00
vmdq ethdev: add namespace 2021-10-22 18:15:38 +02:00
vmdq_dcb ethdev: add namespace 2021-10-22 18:15:38 +02:00
meson.build examples: skip build when missing dependencies 2021-11-10 11:42:34 +01:00