[dpdk-dev] [PATCH 1/7] kni: disable for 32-bit meson builds

Bruce Richardson bruce.richardson at intel.com
Fri Jun 8 18:38:01 CEST 2018


The kni library is not supported on 32-bit so disable it for those
builds using meson.

Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
 lib/librte_kni/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/librte_kni/meson.build b/lib/librte_kni/meson.build
index c4b21961c..a738a033a 100644
--- a/lib/librte_kni/meson.build
+++ b/lib/librte_kni/meson.build
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2017 Intel Corporation
 
-if host_machine.system() != 'linux'
+if host_machine.system() != 'linux' or cc.sizeof('void *') == 4
 	build = false
 endif
 version = 2
-- 
2.17.1



More information about the dev mailing list