build: detect and use libnuma
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 12 Oct 2017 14:02:27 +0000 (15:02 +0100)
committerBruce Richardson <bruce.richardson@intel.com>
Tue, 30 Jan 2018 20:58:59 +0000 (21:58 +0100)
commitf3eeed27ffe3b8521d45940df587385c50069056
tree36e8ce2c82ff052a6bf9a5fe26cc9868fc405c2d
parent2eb3cb3005367ed0316af0fa135a07a522c137bb
build: detect and use libnuma

DPDK has an optional dependency on libnuma, so manage that through the
build system, by dynamically detecting the presence of the needed library
and header files. Since this library is used by both EAL and vhost, check
for the presence at the top level in the config directory.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Luca Boccassi <bluca@debian.org>
config/meson.build
lib/librte_eal/linuxapp/eal/meson.build
lib/librte_vhost/meson.build