From: Ali Alnubani Date: Thu, 23 May 2019 17:40:39 +0000 (+0000) Subject: examples/multi_process: build with meson X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f10aadfd2f2fc0e43a00083dfff7ba9a64871b2d;p=dpdk.git examples/multi_process: build with meson This enables building the example multiprocess applications in the subdirectory multi_process. Signed-off-by: Ali Alnubani Acked-by: Luca Boccassi --- diff --git a/examples/meson.build b/examples/meson.build index 53a786eb48..c695d52c92 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -24,7 +24,12 @@ all_examples = [ 'l2fwd-keepalive', 'l3fwd', 'l3fwd-acl', 'l3fwd-power', 'l3fwd-vf', 'link_status_interrupt', - 'load_balancer', 'multi_process', + 'load_balancer', + 'multi_process/client_server_mp/mp_client', + 'multi_process/client_server_mp/mp_server', + 'multi_process/hotplug_mp', + 'multi_process/simple_mp', + 'multi_process/symmetric_mp', 'netmap_compat', 'packet_ordering', 'performance-thread', 'ptpclient', 'qos_meter', 'qos_sched', diff --git a/examples/multi_process/client_server_mp/mp_client/meson.build b/examples/multi_process/client_server_mp/mp_client/meson.build new file mode 100644 index 0000000000..a6241b83a3 --- /dev/null +++ b/examples/multi_process/client_server_mp/mp_client/meson.build @@ -0,0 +1,13 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright 2019 Mellanox Technologies, Ltd + +# meson file, for building this example as part of a main DPDK build. +# +# To build this example as a standalone application with an already-installed +# DPDK instance, use 'make' + +includes += include_directories('../shared') + +sources = files( + '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 new file mode 100644 index 0000000000..1b2f786389 --- /dev/null +++ b/examples/multi_process/client_server_mp/mp_server/meson.build @@ -0,0 +1,13 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright 2019 Mellanox Technologies, Ltd + +# meson file, for building this example as part of a main DPDK build. +# +# To build this example as a standalone application with an already-installed +# DPDK instance, use 'make' + +includes += include_directories('../shared') + +sources = files( + 'args.c', 'init.c', 'main.c' +) diff --git a/examples/multi_process/hotplug_mp/meson.build b/examples/multi_process/hotplug_mp/meson.build new file mode 100644 index 0000000000..076f4e3dcb --- /dev/null +++ b/examples/multi_process/hotplug_mp/meson.build @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright 2019 Mellanox Technologies, Ltd + +# meson file, for building this example as part of a main DPDK build. +# +# To build this example as a standalone application with an already-installed +# DPDK instance, use 'make' + +sources = files( + 'commands.c', 'main.c' +) diff --git a/examples/multi_process/meson.build b/examples/multi_process/meson.build deleted file mode 100644 index c370d7476f..0000000000 --- a/examples/multi_process/meson.build +++ /dev/null @@ -1,10 +0,0 @@ -# SPDX-License-Identifier: BSD-3-Clause -# Copyright(c) 2018 Intel Corporation - -# meson file, for building this example as part of a main DPDK build. -# -# To build this example as a standalone application with an already-installed -# DPDK instance, use 'make' - -# Example app currently unsupported by meson build -build = false diff --git a/examples/multi_process/simple_mp/meson.build b/examples/multi_process/simple_mp/meson.build new file mode 100644 index 0000000000..b2261e00e9 --- /dev/null +++ b/examples/multi_process/simple_mp/meson.build @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright 2019 Mellanox Technologies, Ltd + +# meson file, for building this example as part of a main DPDK build. +# +# To build this example as a standalone application with an already-installed +# DPDK instance, use 'make' + +sources = files( + 'mp_commands.c', 'main.c' +) diff --git a/examples/multi_process/symmetric_mp/meson.build b/examples/multi_process/symmetric_mp/meson.build new file mode 100644 index 0000000000..458f83642a --- /dev/null +++ b/examples/multi_process/symmetric_mp/meson.build @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright 2019 Mellanox Technologies, Ltd + +# meson file, for building this example as part of a main DPDK build. +# +# To build this example as a standalone application with an already-installed +# DPDK instance, use 'make' + +sources = files( + 'main.c' +)