DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: dev@dpdk.org
Cc: Bruce Richardson <bruce.richardson@intel.com>,
	Nicolas Chautru <nicolas.chautru@intel.com>,
	Chas Williams <chas3@att.com>,
	"Min Hu (Connor)" <humin29@huawei.com>,
	Olivier Matz <olivier.matz@6wind.com>,
	David Hunt <david.hunt@intel.com>,
	Harry van Haaren <harry.van.haaren@intel.com>,
	Marko Kovacevic <marko.kovacevic@intel.com>,
	Bernard Iremonger <bernard.iremonger@intel.com>,
	Ori Kam <orika@nvidia.com>,
	Konstantin Ananyev <konstantin.ananyev@intel.com>,
	Cristian Dumitrescu <cristian.dumitrescu@intel.com>,
	Radu Nicolau <radu.nicolau@intel.com>,
	Akhil Goyal <gakhil@marvell.com>,
	Ferruh Yigit <ferruh.yigit@intel.com>,
	Tomasz Kantecki <tomasz.kantecki@intel.com>,
	Declan Doherty <declan.doherty@intel.com>,
	Sunil Kumar Kori <skori@marvell.com>,
	Pavan Nikhilesh <pbhagavatula@marvell.com>,
	Jerin Jacob <jerinj@marvell.com>,
	Kiran Kumar K <kirankumark@marvell.com>,
	Nithin Dabilpuram <ndabilpuram@marvell.com>,
	Anatoly Burakov <anatoly.burakov@intel.com>,
	Xiaoyun Li <xiaoyun.li@intel.com>,
	Jingjing Wu <jingjing.wu@intel.com>,
	Reshma Pattan <reshma.pattan@intel.com>,
	John McNamara <john.mcnamara@intel.com>,
	Kirill Rybalchenko <kirill.rybalchenko@intel.com>,
	Jasvinder Singh <jasvinder.singh@intel.com>,
	Robert Sanford <rsanford@akamai.com>,
	Erik Gabriel Carrillo <erik.g.carrillo@intel.com>,
	Maxime Coquelin <maxime.coquelin@redhat.com>,
	Chenbo Xia <chenbo.xia@intel.com>
Subject: [dpdk-dev] [PATCH v2 10/16] examples: change meson file tabs to spaces
Date: Tue, 20 Apr 2021 11:22:26 +0100	[thread overview]
Message-ID: <20210420102232.314452-11-bruce.richardson@intel.com> (raw)
In-Reply-To: <20210420102232.314452-1-bruce.richardson@intel.com>

Switch from using tabs to 4 spaces for meson.build indentation.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 examples/bbdev_app/meson.build                |  2 +-
 examples/bond/meson.build                     |  2 +-
 examples/cmdline/meson.build                  |  4 ++-
 examples/distributor/meson.build              |  4 +--
 examples/ethtool/meson.build                  | 12 ++++----
 examples/eventdev_pipeline/meson.build        |  6 ++--
 examples/fips_validation/meson.build          | 22 +++++++-------
 examples/flow_classify/meson.build            |  2 +-
 examples/flow_filtering/meson.build           |  2 +-
 examples/helloworld/meson.build               |  2 +-
 examples/ioat/meson.build                     |  4 +--
 examples/ip_fragmentation/meson.build         |  2 +-
 examples/ip_pipeline/meson.build              | 30 +++++++++----------
 examples/ip_reassembly/meson.build            |  2 +-
 examples/ipsec-secgw/meson.build              | 26 ++++++++--------
 examples/ipv4_multicast/meson.build           |  2 +-
 examples/kni/meson.build                      |  4 +--
 examples/l2fwd-cat/meson.build                |  5 ++--
 examples/l2fwd-crypto/meson.build             |  4 +--
 examples/l2fwd-event/meson.build              | 12 ++++----
 examples/l2fwd-jobstats/meson.build           |  2 +-
 examples/l2fwd-keepalive/meson.build          |  7 +++--
 examples/l2fwd/meson.build                    |  2 +-
 examples/l3fwd-acl/meson.build                |  2 +-
 examples/l3fwd-graph/meson.build              |  2 +-
 examples/l3fwd-power/meson.build              |  3 +-
 examples/l3fwd/meson.build                    |  8 +++--
 examples/link_status_interrupt/meson.build    |  2 +-
 .../client_server_mp/mp_client/meson.build    |  2 +-
 .../client_server_mp/mp_server/meson.build    |  2 +-
 examples/multi_process/hotplug_mp/meson.build |  2 +-
 examples/multi_process/simple_mp/meson.build  |  2 +-
 .../multi_process/symmetric_mp/meson.build    |  2 +-
 examples/ntb/meson.build                      |  8 ++---
 examples/packet_ordering/meson.build          |  2 +-
 .../l3fwd-thread/meson.build                  | 20 ++++++-------
 .../pthread_shim/meson.build                  | 22 +++++++-------
 examples/pipeline/meson.build                 | 12 ++++----
 examples/ptpclient/meson.build                |  2 +-
 examples/qos_meter/meson.build                |  3 +-
 examples/qos_sched/meson.build                |  9 ++++--
 examples/rxtx_callbacks/meson.build           |  2 +-
 examples/service_cores/meson.build            |  2 +-
 examples/skeleton/meson.build                 |  2 +-
 examples/timer/meson.build                    |  2 +-
 examples/vdpa/meson.build                     |  6 ++--
 examples/vhost/meson.build                    | 11 +++----
 examples/vhost_blk/meson.build                | 12 ++++----
 examples/vhost_crypto/meson.build             |  4 +--
 .../vm_power_manager/guest_cli/meson.build    |  4 ++-
 examples/vm_power_manager/meson.build         | 25 +++++++++-------
 examples/vmdq/meson.build                     |  2 +-
 examples/vmdq_dcb/meson.build                 |  2 +-
 53 files changed, 183 insertions(+), 156 deletions(-)

diff --git a/examples/bbdev_app/meson.build b/examples/bbdev_app/meson.build
index 8e06a8a235..ea588e8706 100644
--- a/examples/bbdev_app/meson.build
+++ b/examples/bbdev_app/meson.build
@@ -9,5 +9,5 @@
 deps += 'bbdev'
 allow_experimental_apis = true
 sources = files(
-	'main.c'
+        'main.c',
 )
diff --git a/examples/bond/meson.build b/examples/bond/meson.build
index 69382ffcd2..ed22b7887d 100644
--- a/examples/bond/meson.build
+++ b/examples/bond/meson.build
@@ -9,5 +9,5 @@
 deps += 'net_bond'
 allow_experimental_apis = true
 sources = files(
-	'main.c'
+        'main.c',
 )
diff --git a/examples/cmdline/meson.build b/examples/cmdline/meson.build
index 7de0f16251..0e1e8fb256 100644
--- a/examples/cmdline/meson.build
+++ b/examples/cmdline/meson.build
@@ -8,5 +8,7 @@
 
 allow_experimental_apis = true
 sources = files(
-	'commands.c', 'main.c', 'parse_obj_list.c'
+        'commands.c',
+        'main.c',
+        'parse_obj_list.c',
 )
diff --git a/examples/distributor/meson.build b/examples/distributor/meson.build
index d8dbc235fb..9df59923ce 100644
--- a/examples/distributor/meson.build
+++ b/examples/distributor/meson.build
@@ -9,11 +9,11 @@
 # require the power library
 build = dpdk_conf.has('RTE_LIB_POWER')
 if not build
-	subdir_done()
+    subdir_done()
 endif
 
 allow_experimental_apis = true
 deps += ['distributor', 'power']
 sources = files(
-	'main.c'
+        'main.c',
 )
diff --git a/examples/ethtool/meson.build b/examples/ethtool/meson.build
index 4d08bc4c57..d7f63d48af 100644
--- a/examples/ethtool/meson.build
+++ b/examples/ethtool/meson.build
@@ -8,17 +8,19 @@
 
 build = is_linux
 if not build
-	subdir_done()
+    subdir_done()
 endif
 
-sources = files('lib/rte_ethtool.c',
-	'ethtool-app/ethapp.c',
-	'ethtool-app/main.c')
+sources = files(
+        'lib/rte_ethtool.c',
+        'ethtool-app/ethapp.c',
+        'ethtool-app/main.c',
+)
 includes = include_directories('lib', 'ethtool-app')
 
 deps += 'bus_pci'
 if dpdk_conf.has('RTE_NET_IXGBE')
-	deps += 'net_ixgbe'
+    deps += 'net_ixgbe'
 endif
 
 allow_experimental_apis = true
diff --git a/examples/eventdev_pipeline/meson.build b/examples/eventdev_pipeline/meson.build
index 1dfeba0d3f..b8f5cfe109 100644
--- a/examples/eventdev_pipeline/meson.build
+++ b/examples/eventdev_pipeline/meson.build
@@ -9,7 +9,7 @@
 allow_experimental_apis = true
 deps += 'eventdev'
 sources = files(
-	'main.c',
-	'pipeline_worker_generic.c',
-	'pipeline_worker_tx.c'
+        'main.c',
+        'pipeline_worker_generic.c',
+        'pipeline_worker_tx.c',
 )
diff --git a/examples/fips_validation/meson.build b/examples/fips_validation/meson.build
index e2745d2786..7eef456318 100644
--- a/examples/fips_validation/meson.build
+++ b/examples/fips_validation/meson.build
@@ -9,15 +9,15 @@
 deps += ['cryptodev']
 allow_experimental_apis = true
 sources = files(
-	'fips_validation_aes.c',
-	'fips_validation.c',
-	'fips_validation_hmac.c',
-	'fips_validation_tdes.c',
-	'fips_validation_gcm.c',
-	'fips_validation_cmac.c',
-	'fips_validation_ccm.c',
-	'fips_validation_sha.c',
-	'fips_validation_xts.c',
-	'fips_dev_self_test.c',
-	'main.c'
+        'fips_validation_aes.c',
+        'fips_validation.c',
+        'fips_validation_hmac.c',
+        'fips_validation_tdes.c',
+        'fips_validation_gcm.c',
+        'fips_validation_cmac.c',
+        'fips_validation_ccm.c',
+        'fips_validation_sha.c',
+        'fips_validation_xts.c',
+        'fips_dev_self_test.c',
+        'main.c',
 )
diff --git a/examples/flow_classify/meson.build b/examples/flow_classify/meson.build
index 56472e6819..1be1bf0374 100644
--- a/examples/flow_classify/meson.build
+++ b/examples/flow_classify/meson.build
@@ -9,5 +9,5 @@
 deps += 'flow_classify'
 allow_experimental_apis = true
 sources = files(
-	'flow_classify.c'
+        'flow_classify.c',
 )
diff --git a/examples/flow_filtering/meson.build b/examples/flow_filtering/meson.build
index 6f5d1b08a9..441678bbe5 100644
--- a/examples/flow_filtering/meson.build
+++ b/examples/flow_filtering/meson.build
@@ -8,5 +8,5 @@
 
 allow_experimental_apis = true
 sources = files(
-	'main.c',
+        'main.c',
 )
diff --git a/examples/helloworld/meson.build b/examples/helloworld/meson.build
index 2b0a250361..441678bbe5 100644
--- a/examples/helloworld/meson.build
+++ b/examples/helloworld/meson.build
@@ -8,5 +8,5 @@
 
 allow_experimental_apis = true
 sources = files(
-	'main.c'
+        'main.c',
 )
diff --git a/examples/ioat/meson.build b/examples/ioat/meson.build
index e348196ba3..68bce1ab03 100644
--- a/examples/ioat/meson.build
+++ b/examples/ioat/meson.build
@@ -9,11 +9,11 @@
 allow_experimental_apis = true
 build = dpdk_conf.has('RTE_RAW_IOAT')
 if not build
-	subdir_done()
+    subdir_done()
 endif
 
 deps += ['raw_ioat']
 
 sources = files(
-	'ioatfwd.c'
+        'ioatfwd.c',
 )
diff --git a/examples/ip_fragmentation/meson.build b/examples/ip_fragmentation/meson.build
index 1230db4776..cd84e9b143 100644
--- a/examples/ip_fragmentation/meson.build
+++ b/examples/ip_fragmentation/meson.build
@@ -9,5 +9,5 @@
 allow_experimental_apis = true
 deps +=  ['ip_frag', 'lpm']
 sources = files(
-	'main.c'
+        'main.c',
 )
diff --git a/examples/ip_pipeline/meson.build b/examples/ip_pipeline/meson.build
index 945e28b58b..57f522c24c 100644
--- a/examples/ip_pipeline/meson.build
+++ b/examples/ip_pipeline/meson.build
@@ -8,24 +8,24 @@
 
 build = cc.has_header('sys/epoll.h')
 if not build
-	subdir_done()
+    subdir_done()
 endif
 
 deps += ['pipeline', 'bus_pci']
 allow_experimental_apis = true
 sources = files(
-	'action.c',
-	'cli.c',
-	'conn.c',
-	'kni.c',
-	'link.c',
-	'main.c',
-	'mempool.c',
-	'parser.c',
-	'pipeline.c',
-	'swq.c',
-	'tap.c',
-	'thread.c',
-	'tmgr.c',
-	'cryptodev.c'
+        'action.c',
+        'cli.c',
+        'conn.c',
+        'cryptodev.c',
+        'kni.c',
+        'link.c',
+        'main.c',
+        'mempool.c',
+        'parser.c',
+        'pipeline.c',
+        'swq.c',
+        'tap.c',
+        'thread.c',
+        'tmgr.c',
 )
diff --git a/examples/ip_reassembly/meson.build b/examples/ip_reassembly/meson.build
index 517bd4e19a..b12b66b127 100644
--- a/examples/ip_reassembly/meson.build
+++ b/examples/ip_reassembly/meson.build
@@ -9,5 +9,5 @@
 allow_experimental_apis = true
 deps += ['lpm', 'ip_frag']
 sources = files(
-	'main.c'
+        'main.c',
 )
diff --git a/examples/ipsec-secgw/meson.build b/examples/ipsec-secgw/meson.build
index d0373dab53..b4b483a782 100644
--- a/examples/ipsec-secgw/meson.build
+++ b/examples/ipsec-secgw/meson.build
@@ -9,17 +9,17 @@
 deps += ['security', 'lpm', 'acl', 'hash', 'ip_frag', 'ipsec', 'eventdev']
 allow_experimental_apis = true
 sources = files(
-	'esp.c',
-	'event_helper.c',
-	'flow.c',
-	'ipsec.c',
-	'ipsec_process.c',
-	'ipsec-secgw.c',
-	'ipsec_worker.c',
-	'parser.c',
-	'rt.c',
-	'sa.c',
-	'sad.c',
-	'sp4.c',
-	'sp6.c'
+        'esp.c',
+        'event_helper.c',
+        'flow.c',
+        'ipsec.c',
+        'ipsec_process.c',
+        'ipsec-secgw.c',
+        'ipsec_worker.c',
+        'parser.c',
+        'rt.c',
+        'sa.c',
+        'sad.c',
+        'sp4.c',
+        'sp6.c',
 )
diff --git a/examples/ipv4_multicast/meson.build b/examples/ipv4_multicast/meson.build
index 7dc13fb8fc..236f45bd56 100644
--- a/examples/ipv4_multicast/meson.build
+++ b/examples/ipv4_multicast/meson.build
@@ -9,5 +9,5 @@
 allow_experimental_apis = true
 deps += 'hash'
 sources = files(
-	'main.c'
+        'main.c',
 )
diff --git a/examples/kni/meson.build b/examples/kni/meson.build
index e119eebabb..1c0bf99a49 100644
--- a/examples/kni/meson.build
+++ b/examples/kni/meson.build
@@ -9,11 +9,11 @@
 # this app can be built if-and-only-if KNI library is buildable
 build = dpdk_conf.has('RTE_LIB_KNI')
 if not build
-	subdir_done()
+    subdir_done()
 endif
 
 deps += ['kni', 'bus_pci']
 sources = files(
-	'main.c'
+        'main.c',
 )
 allow_experimental_apis = true
diff --git a/examples/l2fwd-cat/meson.build b/examples/l2fwd-cat/meson.build
index 60169bcbda..68554e76ce 100644
--- a/examples/l2fwd-cat/meson.build
+++ b/examples/l2fwd-cat/meson.build
@@ -9,12 +9,13 @@
 pqos = cc.find_library('pqos', required: false)
 build = pqos.found()
 if not build
-	subdir_done()
+    subdir_done()
 endif
 
 ext_deps += pqos
 allow_experimental_apis = true
 cflags += '-I/usr/local/include' # assume pqos lib installed in /usr/local
 sources = files(
-	'cat.c', 'l2fwd-cat.c'
+        'cat.c',
+        'l2fwd-cat.c',
 )
diff --git a/examples/l2fwd-crypto/meson.build b/examples/l2fwd-crypto/meson.build
index 1813f015b2..bb44c88882 100644
--- a/examples/l2fwd-crypto/meson.build
+++ b/examples/l2fwd-crypto/meson.build
@@ -8,9 +8,9 @@
 
 deps += 'cryptodev'
 if dpdk_conf.has('RTE_CRYPTO_SCHEDULER')
-	deps += 'crypto_scheduler'
+    deps += 'crypto_scheduler'
 endif
 allow_experimental_apis = true
 sources = files(
-	'main.c'
+        'main.c',
 )
diff --git a/examples/l2fwd-event/meson.build b/examples/l2fwd-event/meson.build
index 4a546eaf81..5bc8188086 100644
--- a/examples/l2fwd-event/meson.build
+++ b/examples/l2fwd-event/meson.build
@@ -10,10 +10,10 @@
 allow_experimental_apis = true
 deps += 'eventdev'
 sources = files(
-	'main.c',
-	'l2fwd_poll.c',
-	'l2fwd_common.c',
-	'l2fwd_event.c',
-	'l2fwd_event_internal_port.c',
-	'l2fwd_event_generic.c'
+        'main.c',
+        'l2fwd_common.c',
+        'l2fwd_event.c',
+        'l2fwd_event_generic.c',
+        'l2fwd_event_internal_port.c',
+        'l2fwd_poll.c',
 )
diff --git a/examples/l2fwd-jobstats/meson.build b/examples/l2fwd-jobstats/meson.build
index 72273736b6..bffcf35e8c 100644
--- a/examples/l2fwd-jobstats/meson.build
+++ b/examples/l2fwd-jobstats/meson.build
@@ -9,5 +9,5 @@
 allow_experimental_apis = true
 deps += ['jobstats', 'timer']
 sources = files(
-	'main.c'
+        'main.c',
 )
diff --git a/examples/l2fwd-keepalive/meson.build b/examples/l2fwd-keepalive/meson.build
index a56d679675..ed49c61238 100644
--- a/examples/l2fwd-keepalive/meson.build
+++ b/examples/l2fwd-keepalive/meson.build
@@ -9,12 +9,13 @@
 allow_experimental_apis = true
 librt = cc.find_library('rt', required: false)
 if not librt.found()
-	build = false
-	subdir_done()
+    build = false
+    subdir_done()
 endif
 
 ext_deps += librt
 deps += 'timer'
 sources = files(
-	'main.c', 'shm.c'
+        'main.c',
+        'shm.c',
 )
diff --git a/examples/l2fwd/meson.build b/examples/l2fwd/meson.build
index 50d88caa0a..da6551407e 100644
--- a/examples/l2fwd/meson.build
+++ b/examples/l2fwd/meson.build
@@ -9,5 +9,5 @@
 # Enable experimental API flag as l2fwd uses rte_ethdev_set_ptype API
 allow_experimental_apis = true
 sources = files(
-	'main.c'
+        'main.c',
 )
diff --git a/examples/l3fwd-acl/meson.build b/examples/l3fwd-acl/meson.build
index 6fa468b3aa..6efe46e710 100644
--- a/examples/l3fwd-acl/meson.build
+++ b/examples/l3fwd-acl/meson.build
@@ -9,5 +9,5 @@
 allow_experimental_apis = true
 deps += ['acl', 'lpm', 'hash']
 sources = files(
-	'main.c'
+        'main.c',
 )
diff --git a/examples/l3fwd-graph/meson.build b/examples/l3fwd-graph/meson.build
index a816bd8903..b3ceaadb59 100644
--- a/examples/l3fwd-graph/meson.build
+++ b/examples/l3fwd-graph/meson.build
@@ -8,6 +8,6 @@
 
 deps += ['graph', 'eal', 'lpm', 'ethdev', 'node' ]
 sources = files(
-	'main.c'
+        'main.c',
 )
 allow_experimental_apis = true
diff --git a/examples/l3fwd-power/meson.build b/examples/l3fwd-power/meson.build
index eb8aef306a..0f69bb782c 100644
--- a/examples/l3fwd-power/meson.build
+++ b/examples/l3fwd-power/meson.build
@@ -14,5 +14,6 @@ endif
 allow_experimental_apis = true
 deps += ['power', 'timer', 'lpm', 'hash', 'metrics', 'telemetry']
 sources = files(
-	'main.c', 'perf_core.c'
+        'main.c',
+        'perf_core.c',
 )
diff --git a/examples/l3fwd/meson.build b/examples/l3fwd/meson.build
index 7d72b1b365..b739d6900a 100644
--- a/examples/l3fwd/meson.build
+++ b/examples/l3fwd/meson.build
@@ -9,6 +9,10 @@
 allow_experimental_apis = true
 deps += ['hash', 'lpm', 'eventdev']
 sources = files(
-	'l3fwd_em.c', 'l3fwd_lpm.c', 'l3fwd_event.c',
-	'l3fwd_event_internal_port.c', 'l3fwd_event_generic.c', 'main.c'
+        'l3fwd_em.c',
+        'l3fwd_event.c',
+        'l3fwd_event_internal_port.c',
+        'l3fwd_event_generic.c',
+        'l3fwd_lpm.c',
+        'main.c',
 )
diff --git a/examples/link_status_interrupt/meson.build b/examples/link_status_interrupt/meson.build
index 2b0a250361..441678bbe5 100644
--- a/examples/link_status_interrupt/meson.build
+++ b/examples/link_status_interrupt/meson.build
@@ -8,5 +8,5 @@
 
 allow_experimental_apis = true
 sources = files(
-	'main.c'
+        'main.c',
 )
diff --git a/examples/multi_process/client_server_mp/mp_client/meson.build b/examples/multi_process/client_server_mp/mp_client/meson.build
index 69c3d3bfbe..3c4848bdef 100644
--- a/examples/multi_process/client_server_mp/mp_client/meson.build
+++ b/examples/multi_process/client_server_mp/mp_client/meson.build
@@ -10,5 +10,5 @@ includes += include_directories('../shared')
 
 allow_experimental_apis = true
 sources = files(
-	'client.c'
+        'client.c'
 )
diff --git a/examples/multi_process/client_server_mp/mp_server/meson.build b/examples/multi_process/client_server_mp/mp_server/meson.build
index 0ef6424f4b..74814e5fe8 100644
--- a/examples/multi_process/client_server_mp/mp_server/meson.build
+++ b/examples/multi_process/client_server_mp/mp_server/meson.build
@@ -10,5 +10,5 @@ includes += include_directories('../shared')
 
 allow_experimental_apis = true
 sources = files(
-	'args.c', 'init.c', 'main.c'
+        'args.c', 'init.c', 'main.c'
 )
diff --git a/examples/multi_process/hotplug_mp/meson.build b/examples/multi_process/hotplug_mp/meson.build
index f82f4d48a2..ae92905049 100644
--- a/examples/multi_process/hotplug_mp/meson.build
+++ b/examples/multi_process/hotplug_mp/meson.build
@@ -8,5 +8,5 @@
 
 allow_experimental_apis = true
 sources = files(
-	'commands.c', 'main.c'
+        'commands.c', 'main.c'
 )
diff --git a/examples/multi_process/simple_mp/meson.build b/examples/multi_process/simple_mp/meson.build
index cb02c65a69..adb06b0a75 100644
--- a/examples/multi_process/simple_mp/meson.build
+++ b/examples/multi_process/simple_mp/meson.build
@@ -8,5 +8,5 @@
 
 allow_experimental_apis = true
 sources = files(
-	'mp_commands.c', 'main.c'
+        'mp_commands.c', 'main.c'
 )
diff --git a/examples/multi_process/symmetric_mp/meson.build b/examples/multi_process/symmetric_mp/meson.build
index 14167825b0..a5b988c44f 100644
--- a/examples/multi_process/symmetric_mp/meson.build
+++ b/examples/multi_process/symmetric_mp/meson.build
@@ -8,5 +8,5 @@
 
 allow_experimental_apis = true
 sources = files(
-	'main.c'
+        'main.c'
 )
diff --git a/examples/ntb/meson.build b/examples/ntb/meson.build
index 02be9fc80d..37899dfeb6 100644
--- a/examples/ntb/meson.build
+++ b/examples/ntb/meson.build
@@ -8,15 +8,15 @@
 
 allow_experimental_apis = true
 if not is_linux
-	build = false
-	subdir_done()
+    build = false
+    subdir_done()
 endif
 
 deps += 'rawdev'
 cflags += ['-D_FILE_OFFSET_BITS=64']
 sources = files(
-	'ntb_fwd.c'
+        'ntb_fwd.c',
 )
 if dpdk_conf.has('RTE_RAW_NTB')
-	deps += 'raw_ntb'
+    deps += 'raw_ntb'
 endif
diff --git a/examples/packet_ordering/meson.build b/examples/packet_ordering/meson.build
index b381959145..f8be053fb0 100644
--- a/examples/packet_ordering/meson.build
+++ b/examples/packet_ordering/meson.build
@@ -9,5 +9,5 @@
 allow_experimental_apis = true
 deps += 'reorder'
 sources = files(
-	'main.c'
+        'main.c',
 )
diff --git a/examples/performance-thread/l3fwd-thread/meson.build b/examples/performance-thread/l3fwd-thread/meson.build
index 4858b201e4..58d4e96a45 100644
--- a/examples/performance-thread/l3fwd-thread/meson.build
+++ b/examples/performance-thread/l3fwd-thread/meson.build
@@ -8,7 +8,7 @@
 
 build = dpdk_conf.has('RTE_ARCH_X86_64')
 if not build
-	subdir_done()
+    subdir_done()
 endif
 
 deps += ['timer', 'lpm']
@@ -16,17 +16,17 @@ allow_experimental_apis = true
 
 # get the performance thread (pt) architecture subdir
 if dpdk_conf.has('RTE_ARCH_ARM64')
-	pt_arch_dir = '../common/arch/arm64'
+    pt_arch_dir = '../common/arch/arm64'
 else
-	pt_arch_dir = '../common/arch/x86'
+    pt_arch_dir = '../common/arch/x86'
 endif
 sources += files('main.c',
-	'../common/lthread.c',
-	'../common/lthread_cond.c',
-	'../common/lthread_diag.c',
-	'../common/lthread_mutex.c',
-	'../common/lthread_sched.c',
-	'../common/lthread_tls.c',
-	pt_arch_dir + '/ctx.c')
+    '../common/lthread.c',
+    '../common/lthread_cond.c',
+    '../common/lthread_diag.c',
+    '../common/lthread_mutex.c',
+    '../common/lthread_sched.c',
+    '../common/lthread_tls.c',
+    pt_arch_dir + '/ctx.c')
 
 includes += include_directories('../common', pt_arch_dir)
diff --git a/examples/performance-thread/pthread_shim/meson.build b/examples/performance-thread/pthread_shim/meson.build
index d499799307..866e6c94e8 100644
--- a/examples/performance-thread/pthread_shim/meson.build
+++ b/examples/performance-thread/pthread_shim/meson.build
@@ -8,7 +8,7 @@
 
 build = dpdk_conf.has('RTE_ARCH_X86_64') or dpdk_conf.has('RTE_ARCH_ARM64')
 if not build
-	subdir_done()
+    subdir_done()
 endif
 
 deps += ['timer']
@@ -16,18 +16,18 @@ allow_experimental_apis = true
 
 # get the performance thread (pt) architecture subdir
 if dpdk_conf.has('RTE_ARCH_ARM64')
-	pt_arch_dir = '../common/arch/arm64'
+    pt_arch_dir = '../common/arch/arm64'
 else
-	pt_arch_dir = '../common/arch/x86'
+    pt_arch_dir = '../common/arch/x86'
 endif
 sources += files('main.c',
-	'pthread_shim.c',
-	'../common/lthread.c',
-	'../common/lthread_cond.c',
-	'../common/lthread_diag.c',
-	'../common/lthread_mutex.c',
-	'../common/lthread_sched.c',
-	'../common/lthread_tls.c',
-	pt_arch_dir + '/ctx.c')
+    'pthread_shim.c',
+    '../common/lthread.c',
+    '../common/lthread_cond.c',
+    '../common/lthread_diag.c',
+    '../common/lthread_mutex.c',
+    '../common/lthread_sched.c',
+    '../common/lthread_tls.c',
+    pt_arch_dir + '/ctx.c')
 
 includes += include_directories('../common', pt_arch_dir)
diff --git a/examples/pipeline/meson.build b/examples/pipeline/meson.build
index 4f5925d7cf..50103f2e01 100644
--- a/examples/pipeline/meson.build
+++ b/examples/pipeline/meson.build
@@ -8,15 +8,15 @@
 
 build = cc.has_header('sys/epoll.h')
 if not build
-	subdir_done()
+    subdir_done()
 endif
 
 deps += ['pipeline', 'bus_pci']
 allow_experimental_apis = true
 sources = files(
-	'cli.c',
-	'conn.c',
-	'main.c',
-	'obj.c',
-	'thread.c',
+        'cli.c',
+        'conn.c',
+        'main.c',
+        'obj.c',
+        'thread.c',
 )
diff --git a/examples/ptpclient/meson.build b/examples/ptpclient/meson.build
index d4171a2183..47d091ea21 100644
--- a/examples/ptpclient/meson.build
+++ b/examples/ptpclient/meson.build
@@ -8,5 +8,5 @@
 
 allow_experimental_apis = true
 sources = files(
-	'ptpclient.c'
+        'ptpclient.c',
 )
diff --git a/examples/qos_meter/meson.build b/examples/qos_meter/meson.build
index 2f9ab13afd..573d4978c6 100644
--- a/examples/qos_meter/meson.build
+++ b/examples/qos_meter/meson.build
@@ -9,5 +9,6 @@
 allow_experimental_apis = true
 deps += 'meter'
 sources = files(
-	'main.c', 'rte_policer.c'
+        'main.c',
+        'rte_policer.c',
 )
diff --git a/examples/qos_sched/meson.build b/examples/qos_sched/meson.build
index ba59d3c9e5..dc103e9556 100644
--- a/examples/qos_sched/meson.build
+++ b/examples/qos_sched/meson.build
@@ -9,6 +9,11 @@
 allow_experimental_apis = true
 deps += ['sched', 'cfgfile']
 sources = files(
-	'app_thread.c', 'args.c', 'cfg_file.c', 'cmdline.c',
-	'init.c', 'main.c', 'stats.c'
+        'app_thread.c',
+        'args.c',
+        'cfg_file.c',
+        'cmdline.c',
+        'init.c',
+        'main.c',
+        'stats.c',
 )
diff --git a/examples/rxtx_callbacks/meson.build b/examples/rxtx_callbacks/meson.build
index a7bf12dd3a..5e860708fc 100644
--- a/examples/rxtx_callbacks/meson.build
+++ b/examples/rxtx_callbacks/meson.build
@@ -10,5 +10,5 @@
 allow_experimental_apis = true
 
 sources = files(
-	'main.c'
+        'main.c',
 )
diff --git a/examples/service_cores/meson.build b/examples/service_cores/meson.build
index 2b0a250361..441678bbe5 100644
--- a/examples/service_cores/meson.build
+++ b/examples/service_cores/meson.build
@@ -8,5 +8,5 @@
 
 allow_experimental_apis = true
 sources = files(
-	'main.c'
+        'main.c',
 )
diff --git a/examples/skeleton/meson.build b/examples/skeleton/meson.build
index ef46b187e7..f56a4104b5 100644
--- a/examples/skeleton/meson.build
+++ b/examples/skeleton/meson.build
@@ -8,5 +8,5 @@
 
 allow_experimental_apis = true
 sources = files(
-	'basicfwd.c'
+        'basicfwd.c',
 )
diff --git a/examples/timer/meson.build b/examples/timer/meson.build
index 87c21a8679..c140f74e12 100644
--- a/examples/timer/meson.build
+++ b/examples/timer/meson.build
@@ -9,5 +9,5 @@
 allow_experimental_apis = true
 deps += 'timer'
 sources = files(
-	'main.c'
+        'main.c',
 )
diff --git a/examples/vdpa/meson.build b/examples/vdpa/meson.build
index 26f6089c92..bd086050dc 100644
--- a/examples/vdpa/meson.build
+++ b/examples/vdpa/meson.build
@@ -7,12 +7,12 @@
 # DPDK instance, use 'make'
 
 if not is_linux
-	build = false
-	subdir_done()
+    build = false
+    subdir_done()
 endif
 
 deps += 'vhost'
 allow_experimental_apis = true
 sources = files(
-	'main.c'
+        'main.c',
 )
diff --git a/examples/vhost/meson.build b/examples/vhost/meson.build
index 9d9947c585..3efd5e6540 100644
--- a/examples/vhost/meson.build
+++ b/examples/vhost/meson.build
@@ -7,17 +7,18 @@
 # DPDK instance, use 'make'
 
 if not is_linux
-	build = false
-	subdir_done()
+    build = false
+    subdir_done()
 endif
 
 deps += 'vhost'
 allow_experimental_apis = true
 sources = files(
-	'main.c', 'virtio_net.c'
+        'main.c',
+        'virtio_net.c',
 )
 
 if dpdk_conf.has('RTE_RAW_IOAT')
-	deps += 'raw_ioat'
-	sources += files('ioat.c')
+    deps += 'raw_ioat'
+    sources += files('ioat.c')
 endif
diff --git a/examples/vhost_blk/meson.build b/examples/vhost_blk/meson.build
index 354ba05848..9314f47e55 100644
--- a/examples/vhost_blk/meson.build
+++ b/examples/vhost_blk/meson.build
@@ -7,17 +7,19 @@
 # DPDK instance, use 'make'
 
 if not is_linux
-	build = false
-	subdir_done()
+    build = false
+    subdir_done()
 endif
 
 if not cc.has_header('linux/virtio_blk.h')
-	build = false
-	subdir_done()
+    build = false
+    subdir_done()
 endif
 
 deps += 'vhost'
 allow_experimental_apis = true
 sources = files(
-	'blk.c', 'vhost_blk.c', 'vhost_blk_compat.c'
+        'blk.c',
+        'vhost_blk.c',
+        'vhost_blk_compat.c',
 )
diff --git a/examples/vhost_crypto/meson.build b/examples/vhost_crypto/meson.build
index 403f210983..720f42dd70 100644
--- a/examples/vhost_crypto/meson.build
+++ b/examples/vhost_crypto/meson.build
@@ -8,11 +8,11 @@
 
 build = dpdk_conf.has('RTE_LIB_VHOST')
 if not build
-	subdir_done()
+    subdir_done()
 endif
 
 allow_experimental_apis = true
 deps += ['vhost', 'cryptodev']
 sources = files(
-	'main.c'
+        'main.c',
 )
diff --git a/examples/vm_power_manager/guest_cli/meson.build b/examples/vm_power_manager/guest_cli/meson.build
index cd95266018..666eef94ae 100644
--- a/examples/vm_power_manager/guest_cli/meson.build
+++ b/examples/vm_power_manager/guest_cli/meson.build
@@ -14,7 +14,9 @@ endif
 deps += ['power']
 
 sources = files(
-	'main.c', 'parse.c', 'vm_power_cli_guest.c'
+        'main.c',
+        'parse.c',
+        'vm_power_cli_guest.c',
 )
 
 allow_experimental_apis = true
diff --git a/examples/vm_power_manager/meson.build b/examples/vm_power_manager/meson.build
index 637bd23235..c15bad6609 100644
--- a/examples/vm_power_manager/meson.build
+++ b/examples/vm_power_manager/meson.build
@@ -7,34 +7,39 @@
 # DPDK instance, use 'make'
 
 if not dpdk_conf.has('RTE_LIB_POWER')
-	build = false
-	subdir_done()
+    build = false
+    subdir_done()
 endif
 
 deps += ['power']
 
 if dpdk_conf.has('RTE_NET_BNXT')
-	deps += ['net_bnxt']
+    deps += ['net_bnxt']
 endif
 
 if dpdk_conf.has('RTE_NET_I40E')
-	deps += ['net_i40e']
+    deps += ['net_i40e']
 endif
 
 if dpdk_conf.has('RTE_NET_IXGBE')
-	deps += ['net_ixgbe']
+    deps += ['net_ixgbe']
 endif
 
 allow_experimental_apis = true
 sources = files(
-	'channel_manager.c', 'channel_monitor.c', 'main.c', 'parse.c', 'power_manager.c', 'vm_power_cli.c'
+        'channel_manager.c',
+        'channel_monitor.c',
+        'main.c',
+        'parse.c',
+        'power_manager.c',
+        'vm_power_cli.c',
 )
 
 # If we're on X86, pull in the x86 code for the branch monitor algo.
 if dpdk_conf.has('RTE_ARCH_X86_64')
-	sources += files('oob_monitor_x86.c')
+    sources += files('oob_monitor_x86.c')
 else
-	sources += files('oob_monitor_nop.c')
+    sources += files('oob_monitor_nop.c')
 endif
 
 opt_dep = cc.find_library('virt', required : false)
@@ -43,6 +48,6 @@ ext_deps += opt_dep
 
 opt_dep = dependency('jansson', required : false, method: 'pkg-config')
 if opt_dep.found()
-	ext_deps += opt_dep
-	cflags += '-DUSE_JANSSON'
+    ext_deps += opt_dep
+    cflags += '-DUSE_JANSSON'
 endif
diff --git a/examples/vmdq/meson.build b/examples/vmdq/meson.build
index 2b0a250361..441678bbe5 100644
--- a/examples/vmdq/meson.build
+++ b/examples/vmdq/meson.build
@@ -8,5 +8,5 @@
 
 allow_experimental_apis = true
 sources = files(
-	'main.c'
+        'main.c',
 )
diff --git a/examples/vmdq_dcb/meson.build b/examples/vmdq_dcb/meson.build
index 2b0a250361..441678bbe5 100644
--- a/examples/vmdq_dcb/meson.build
+++ b/examples/vmdq_dcb/meson.build
@@ -8,5 +8,5 @@
 
 allow_experimental_apis = true
 sources = files(
-	'main.c'
+        'main.c',
 )
-- 
2.27.0


  parent reply	other threads:[~2021-04-20 10:24 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-01 11:49 [dpdk-dev] [RFC PATCH 00/14] Build file update proposals Bruce Richardson
2021-04-01 11:49 ` [dpdk-dev] [RFC PATCH 01/14] editorconfig: add entry for meson files Bruce Richardson
2021-04-01 11:49 ` [dpdk-dev] [RFC PATCH 02/14] build: simplify library build file Bruce Richardson
2021-04-01 11:49 ` [dpdk-dev] [RFC PATCH 03/14] build: correct indentation in list of libs Bruce Richardson
2021-04-01 13:30   ` Thomas Monjalon
2021-04-01 14:01     ` Bruce Richardson
2021-04-01 11:49 ` [dpdk-dev] [RFC PATCH 04/14] build: simplify the driver build configuration file Bruce Richardson
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 05/14] build: clean up driver list indentation Bruce Richardson
2021-04-01 12:14   ` Andrew Rybchenko
2021-04-01 12:33     ` Bruce Richardson
2021-04-01 12:40       ` Andrew Rybchenko
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 06/14] build: reduce indentation in app build spec Bruce Richardson
2021-04-01 13:32   ` Thomas Monjalon
2021-04-01 14:05     ` Bruce Richardson
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 07/14] build: reduce indentation in examples " Bruce Richardson
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 08/14] build: change infrastructure file tabs to spaces Bruce Richardson
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 09/14] lib: change meson " Bruce Richardson
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 10/14] drivers: " Bruce Richardson
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 11/14] examples: " Bruce Richardson
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 12/14] app: " Bruce Richardson
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 13/14] lib: remove librte_ prefix from directory names Bruce Richardson
2021-04-01 13:42   ` Thomas Monjalon
2021-04-01 11:50 ` [dpdk-dev] [RFC PATCH 14/14] lib: allow disabling optional libraries Bruce Richardson
2021-04-01 12:27 ` [dpdk-dev] [RFC PATCH 00/14] Build file update proposals Andrew Rybchenko
2021-04-01 13:15   ` Luca Boccassi
2021-04-01 13:36 ` Thomas Monjalon
2021-04-01 14:10   ` Bruce Richardson
2021-04-16 17:04 ` [dpdk-dev] [PATCH 00/14] Build file updates Bruce Richardson
2021-04-16 17:04   ` [dpdk-dev] [PATCH 01/14] build: simplify library build file Bruce Richardson
2021-04-16 17:04   ` [dpdk-dev] [PATCH 02/14] build: tidy up list of libraries to build Bruce Richardson
2021-04-16 17:04   ` [dpdk-dev] [PATCH 03/14] build: simplify the driver build configuration file Bruce Richardson
2021-04-16 17:04   ` [dpdk-dev] [PATCH 04/14] build: clean up driver lists Bruce Richardson
2021-04-16 17:04   ` [dpdk-dev] [PATCH 05/14] build: reduce indentation in app build spec Bruce Richardson
2021-04-16 17:04   ` [dpdk-dev] [PATCH 06/14] build: reduce indentation in examples " Bruce Richardson
2021-04-16 17:04   ` [dpdk-dev] [PATCH 07/14] build: change infrastructure file tabs to spaces Bruce Richardson
2021-04-16 17:04   ` [dpdk-dev] [PATCH 08/14] lib: cleanup whitespace in meson build files Bruce Richardson
2021-04-16 17:04   ` [dpdk-dev] [PATCH 09/14] drivers: change meson file tabs to spaces Bruce Richardson
2021-04-16 17:04   ` [dpdk-dev] [PATCH 10/14] examples: " Bruce Richardson
2021-04-16 17:04   ` [dpdk-dev] [PATCH 11/14] app: " Bruce Richardson
2021-04-16 17:04   ` [dpdk-dev] [PATCH 12/14] editorconfig: add entry for meson files Bruce Richardson
2021-04-16 17:04   ` [dpdk-dev] [PATCH 13/14] lib: remove librte_ prefix from directory names Bruce Richardson
2021-04-16 17:04   ` [dpdk-dev] [PATCH 14/14] lib: allow disabling optional libraries Bruce Richardson
2021-04-18  8:45   ` [dpdk-dev] [PATCH 00/14] Build file updates Xueming(Steven) Li
2021-04-19 13:06     ` Bruce Richardson
2021-04-21 13:01       ` Xueming(Steven) Li
2021-04-21 15:52         ` Xueming(Steven) Li
2021-04-19  0:20   ` Thomas Monjalon
2021-04-19 13:09     ` Bruce Richardson
2021-04-19 13:47       ` Thomas Monjalon
2021-04-19 14:23         ` Bruce Richardson
2021-04-20 10:22 ` [dpdk-dev] [PATCH v2 00/16] " Bruce Richardson
2021-04-20 10:22   ` [dpdk-dev] [PATCH v2 01/16] build: simplify library build file Bruce Richardson
2021-04-20 10:22   ` [dpdk-dev] [PATCH v2 02/16] build: tidy up list of libraries to build Bruce Richardson
2021-04-20 10:22   ` [dpdk-dev] [PATCH v2 03/16] build: simplify the driver build configuration file Bruce Richardson
2021-04-20 10:22   ` [dpdk-dev] [PATCH v2 04/16] build: clean up driver lists Bruce Richardson
2021-04-20 10:22   ` [dpdk-dev] [PATCH v2 05/16] build: reduce indentation in app build spec Bruce Richardson
2021-04-20 10:22   ` [dpdk-dev] [PATCH v2 06/16] build: reduce indentation in examples " Bruce Richardson
2021-04-20 10:22   ` [dpdk-dev] [PATCH v2 07/16] build: change infrastructure file tabs to spaces Bruce Richardson
2021-04-27 19:16     ` David Christensen
2021-04-20 10:22   ` [dpdk-dev] [PATCH v2 08/16] lib: cleanup whitespace in meson build files Bruce Richardson
2021-04-20 10:22   ` [dpdk-dev] [PATCH v2 09/16] drivers: change meson file tabs to spaces Bruce Richardson
2021-04-21  1:48     ` Xu, Rosen
2021-04-20 10:22   ` Bruce Richardson [this message]
2021-04-20 10:22   ` [dpdk-dev] [PATCH v2 11/16] app: " Bruce Richardson
2021-04-20 10:22   ` [dpdk-dev] [PATCH v2 12/16] editorconfig: add entry for meson files Bruce Richardson
2021-04-20 10:22   ` [dpdk-dev] [PATCH v2 13/16] doc: add meson coding style section to contributors guide Bruce Richardson
2021-04-20 10:22   ` [dpdk-dev] [PATCH v2 14/16] lib: remove librte_ prefix from directory names Bruce Richardson
2021-04-28 20:18     ` David Christensen
2021-04-20 10:22   ` [dpdk-dev] [PATCH v2 15/16] devtools: add script to ease backport of renamed files Bruce Richardson
2021-04-20 10:22   ` [dpdk-dev] [PATCH v2 16/16] lib: allow disabling optional libraries Bruce Richardson
2021-04-21 12:08   ` [dpdk-dev] [PATCH v2 00/16] Build file updates Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210420102232.314452-11-bruce.richardson@intel.com \
    --to=bruce.richardson@intel.com \
    --cc=anatoly.burakov@intel.com \
    --cc=bernard.iremonger@intel.com \
    --cc=chas3@att.com \
    --cc=chenbo.xia@intel.com \
    --cc=cristian.dumitrescu@intel.com \
    --cc=david.hunt@intel.com \
    --cc=declan.doherty@intel.com \
    --cc=dev@dpdk.org \
    --cc=erik.g.carrillo@intel.com \
    --cc=ferruh.yigit@intel.com \
    --cc=gakhil@marvell.com \
    --cc=harry.van.haaren@intel.com \
    --cc=humin29@huawei.com \
    --cc=jasvinder.singh@intel.com \
    --cc=jerinj@marvell.com \
    --cc=jingjing.wu@intel.com \
    --cc=john.mcnamara@intel.com \
    --cc=kirankumark@marvell.com \
    --cc=kirill.rybalchenko@intel.com \
    --cc=konstantin.ananyev@intel.com \
    --cc=marko.kovacevic@intel.com \
    --cc=maxime.coquelin@redhat.com \
    --cc=ndabilpuram@marvell.com \
    --cc=nicolas.chautru@intel.com \
    --cc=olivier.matz@6wind.com \
    --cc=orika@nvidia.com \
    --cc=pbhagavatula@marvell.com \
    --cc=radu.nicolau@intel.com \
    --cc=reshma.pattan@intel.com \
    --cc=rsanford@akamai.com \
    --cc=skori@marvell.com \
    --cc=tomasz.kantecki@intel.com \
    --cc=xiaoyun.li@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).