> -----Original Message-----
> From: [email protected] <[email protected]>
> Sent: Thursday, February 25, 2021 10:33 PM
> To: Jerin Jacob Kollanukkaran <[email protected]>; Ashish Gupta
> <[email protected]>; Fiona Trahe <[email protected]>
> Cc: [email protected]; Pavan Nikhilesh Bhagavatula
> <[email protected]>
> Subject: [dpdk-dev] [PATCH 7/7] compress/octeontx: enable build only for
> 64bit Linux
> 
> From: Pavan Nikhilesh <[email protected]>
> 
> Due to Linux kernel dependency, only enable build for 64bit Linux.
> 
> Signed-off-by: Pavan Nikhilesh <[email protected]>
> ---
>  drivers/compress/octeontx/meson.build | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/drivers/compress/octeontx/meson.build
> b/drivers/compress/octeontx/meson.build
> index e1b7bed42..cd8687fde 100644
> --- a/drivers/compress/octeontx/meson.build
> +++ b/drivers/compress/octeontx/meson.build
> @@ -1,6 +1,12 @@
>  # SPDX-License-Identifier: BSD-3-Clause  # Copyright(c) 2018 Cavium, Inc
> 
> +if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
> +     build = false
> +     reason = 'only supported on 64-bit Linux'
> +     subdir_done()
> +endif
> +
>  sources = files('otx_zip.c', 'otx_zip_pmd.c')  includes +=
> include_directories('include')  deps += ['mempool_octeontx', 'bus_pci']
> --
> 2.17.1

Acked-by: Ashish Gupta <[email protected]>

Reply via email to