[dpdk-dev] [PATCH v2 07/16] build: change infrastructure file tabs to spaces

David Christensen drc at linux.vnet.ibm.com
Tue Apr 27 21:16:55 CEST 2021



On 4/20/21 3:22 AM, Bruce Richardson wrote:
> Switch from using tabs to 4 spaces for meson.build indentation, for the
> basic infrastructure and tooling files, as well as doc and kernel
> directories.
> 
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
>   buildtools/chkincs/meson.build    |  24 +-
>   buildtools/meson.build            |  34 +-
>   buildtools/pkg-config/meson.build |  34 +-
>   config/arm/meson.build            | 704 +++++++++++++++---------------
>   config/meson.build                | 286 ++++++------
>   config/ppc/meson.build            |   8 +-
>   config/x86/meson.build            |  64 +--
>   doc/api/meson.build               |  36 +-
>   doc/guides/meson.build            |  25 +-
>   doc/meson.build                   |   6 +-
>   kernel/freebsd/meson.build        |  32 +-
>   kernel/linux/kni/meson.build      |  41 +-
>   kernel/linux/meson.build          | 111 +++--
>   meson.build                       |  94 ++--
>   meson_options.txt                 |  84 ++--
>   usertools/meson.build             |  11 +-
>   16 files changed, 796 insertions(+), 798 deletions(-)

...

> diff --git a/config/ppc/meson.build b/config/ppc/meson.build
> index 0d8da87e6f..1c196b8db5 100644
> --- a/config/ppc/meson.build
> +++ b/config/ppc/meson.build
> @@ -2,7 +2,7 @@
>   # Copyright(c) 2018 Luca Boccassi <bluca at debian.org>
> 
>   if not dpdk_conf.get('RTE_ARCH_64')
> -	error('Only 64-bit compiles are supported for this platform type')
> +    error('Only 64-bit compiles are supported for this platform type')
>   endif
>   dpdk_conf.set('RTE_ARCH', 'ppc_64')
>   dpdk_conf.set('RTE_ARCH_PPC_64', 1)
> @@ -12,9 +12,9 @@ dpdk_conf.set('RTE_ARCH_PPC_64', 1)
>   # is used, resulting in a build failure.
>   power9_supported = cc.has_argument('-mcpu=power9')
>   if not power9_supported
> -	machine = 'power8'
> -	machine_args = ['-mcpu=power8', '-mtune=power8']
> -	dpdk_conf.set('RTE_MACHINE','power8')
> +    machine = 'power8'
> +    machine_args = ['-mcpu=power8', '-mtune=power8']
> +    dpdk_conf.set('RTE_MACHINE','power8')
>   endif
> 
>   # overrides specific to ppc64

Reviewed-by: David Christensen <drc at linux.vnet.ibm.com>


More information about the dev mailing list