Message ID | 20180608163807.66737-2-bruce.richardson@intel.com (mailing list archive) |
---|---|
State | Superseded, archived |
Delegated to: | Thomas Monjalon |
Headers | show |
Series | Enable 32-bit native builds with meson | expand |
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
ci/Intel-compilation | success | Compilation OK |
On 6/8/2018 5:38 PM, Bruce Richardson wrote: > The kni library is not supported on 32-bit so disable it for those > builds using meson. > > Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
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
The kni library is not supported on 32-bit so disable it for those builds using meson. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> --- lib/librte_kni/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)