From ee6ddceaf54fa055ac3fc3997156f5ee0c9ca4ae Mon Sep 17 00:00:00 2001 From: Sachin Saxena Date: Thu, 10 May 2018 16:22:09 +0530 Subject: Fix broken compilation for non-numa aware platforms - The dpdk plugin always looks for libnuma library during compilation. For non-numa aware platforms compilation breaks, if third party libnuma lib is not available. - Issue is more severe with Cross Compilation scenario where one has to download and cross compile libnuma-dev package even when target platofrom is NUMA disabled. Like when cross compiling for ARM platforms, Linaro tool-chain doesn't have libnuma by default. Change-Id: Ib85b3188b787c23ba33b47e3f6123c74fd37190e Signed-off-by: Sachin Saxena --- build-data/platforms/dpaa.mk | 2 +- build-data/platforms/vpp.mk | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'build-data') diff --git a/build-data/platforms/dpaa.mk b/build-data/platforms/dpaa.mk index 3ccabefec99..e0a37fa6980 100644 --- a/build-data/platforms/dpaa.mk +++ b/build-data/platforms/dpaa.mk @@ -64,7 +64,7 @@ endif endif # Disable the unused plugins in order to decrease the VPP pacakage size. -vpp_configure_args_dpaa = --without-ipv6sr --with-pre-data=128 +vpp_configure_args_dpaa = --without-ipv6sr --with-pre-data=128 --without-libnuma # Other optional vpp_configure_args ifneq ($(VPP_CFG_ARGS),) diff --git a/build-data/platforms/vpp.mk b/build-data/platforms/vpp.mk index ad15d7e272e..c1729723624 100644 --- a/build-data/platforms/vpp.mk +++ b/build-data/platforms/vpp.mk @@ -36,6 +36,7 @@ vpp_root_packages = vpp vom # vpp_dpdk_lib_dir = /usr/lib # vpp_dpdk_shared_lib = yes +# Use '--without-libnuma' for non-numa aware architecture vpp_configure_args_vpp = # load balancer plugin is not portable on 32 bit platform -- cgit 1.2.3-korg