From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 263E84262C; Mon, 25 Sep 2023 13:30:48 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9EBFE402DE; Mon, 25 Sep 2023 13:30:47 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2063.outbound.protection.outlook.com [40.107.94.63]) by mails.dpdk.org (Postfix) with ESMTP id A54C24029F for ; Mon, 25 Sep 2023 13:30:45 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eAwiYj1PJ/QLFDlUbiGla1QugoopsGodyt2XVUeItVChTQ7RaiA8JeeaEAH9kR3X+kQaUmM6SRyGqKzcGyO6o5NjNMtJ/Fg98EXtF3i50u2eTGjLC1Cri9DqX4xq4eXuLpSHotWHF0uV5xqJQk7HjYS1s/CNqWlZJkqSvX+mhCBDn4BvZlwetz7mnlbufw/GhQqIL0Rrh0HRgbEmOo5NmI46QXi6IEv0iwvelUwLpcoT1X3o2CigIGbMEcK//jBJ5Y2sRwvb6eBmY56UxDqBKwbKXTSP7u/TvHLn1qpSzDRx7Xu1LqZBzfsTEArxWrJLW0okuWfC/TEtH5SG95w8rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=KlBOhH575mlgQWZQ0WrqM76nIwaSpQohCxmkenA0DKs=; b=SU268Nedh+Z6cKZxt48B4YMNJdsoVDou61qSzzYLQi4SNRcfAgA2tZ0EzNz/TUXhQaF21osrkkWcJ4TNB44wjmhDG0o83WzgrD7lEVsygk4AXyWw2z3bpWxk8yGE6tStjHux6RvsK+myf+cMaXGIzh/Rx/GDAB8agiNfb47KAEkanUS3yFLn8kK/RxXdPbFPfhns9/m9eSAUSvlA++b26Zb0mGIGOOq5CVSn6LYgdBB0a9vJeUqI5PsS5aumFF3YKPocb09d1wdBOKsnaytSwp/4VhfyIDFhzUOyy+5vby4BVcF/Qk1kyZZUyj9XGqIpkQyo2cVrbs80hDNtf8UMvA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KlBOhH575mlgQWZQ0WrqM76nIwaSpQohCxmkenA0DKs=; b=LAighiYmyPfmWKFNZu9oJewOgIU6NWk2SH4fkuk+/ag50rY4FVRC8L/nmCiThyYiG6sOyu5/Tfr+qQdH1ESvTfICZ7j0g8eDGxrdmkuk1mGVl8cu+dp0n2Q9s8usbsC8NAA50o/Z1D70CU5h6D2j1Bmyfsl8psdA+r/NKws78GA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by SA1PR12MB8947.namprd12.prod.outlook.com (2603:10b6:806:386::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Mon, 25 Sep 2023 11:30:42 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::102f:c69b:d3e5:7fe8]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::102f:c69b:d3e5:7fe8%4]) with mapi id 15.20.6813.027; Mon, 25 Sep 2023 11:30:42 +0000 Message-ID: <42a18fab-e4a3-4cf6-8892-1434e4727289@amd.com> Date: Mon, 25 Sep 2023 12:30:35 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/6] Section 2: Install and Build DPDK Content-Language: en-US To: David Young , dev@dpdk.org Cc: Bruce Richardson References: <20230920154817.617-1-dave@youngcopy.com> <20230920154817.617-3-dave@youngcopy.com> From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJjb9DJBQkC+3/YAAoJEFRTPtCK Km/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HAVhmtXvrqPW6Ku 3FQ= In-Reply-To: <20230920154817.617-3-dave@youngcopy.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: AS4P250CA0027.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:5e3::18) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SA1PR12MB8947:EE_ X-MS-Office365-Filtering-Correlation-Id: cdaab260-b543-4211-8b52-08dbbdbad9b6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yAj/DvNW6tyn6vTqNboLMAID2y7p26Kc86mWRDh6pYKfYu6BYaBEtXEs2UqxEcNPncCOBpUzyENWaS7s25fG2tWMx364VjoN7MC8WVJQTOg56TTioqwK0WYN7oK5wNbtvDRrmgSq3KGgSEO+Tk6Atz3LtB9zjZPflexnFyszsNhAEMF/ooDMRNOoI33u+KlAQORnfGg+jCcsyCA5XldopuxEev01tC/eUmrQoJQzC3ESAmkbAQPIe4c4BMcrfGS/Exnkjuk9V2U/n1dQIDyE74HFZ4wtsrXG9Cz2wSFktSp3bQhtfH5Ren0vZDmP/2oGG3FzMwoKC+zn5nFQ57DgOMMkPgI3QBUgSHpN5ZNP6vVBMxbWwYG3oFM65B09PgE8BpN1AEce9a0dSTkOQDff2MefHsNpSi610k8Hr6msNH/70xHAas8L04XVyk/ib/qVoWjgTAxf/+Rxrg2SgBcw3lUeN/7JFknYBmL4xbnvl4SeleMNfpNJEWCs3HzFAOJu4HNmrsq402+/FRuVHrBcmz3lXVGoKAeZoIyDNe2LtbgNl2nK9osioBtCFKp19X0WNJGSR616S8GvHsaK8UrszLqhQuFfU31UmQMbIx45oUrWcohpZhYpzlrlpBUtntci64kjuGK2Lo3ujfwBW6NmmYJUfYsTv4qPrL2yheePNiXfdcCaQkvZVZzf0m1wN+2M X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(396003)(366004)(39860400002)(346002)(376002)(136003)(230922051799003)(1800799009)(186009)(451199024)(6512007)(53546011)(6486002)(6506007)(6666004)(83380400001)(86362001)(31696002)(38100700002)(36756003)(16799955002)(2616005)(26005)(44832011)(2906002)(30864003)(31686004)(8936002)(8676002)(4326008)(41300700001)(66556008)(66946007)(316002)(66476007)(5660300002)(45080400002)(478600001)(966005)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?K2tRbXYvU1JBZGx3T25oWHc3elVIMm9sV0RPTk9EQnh1LzkwYTg3VElsdlBq?= =?utf-8?B?alNkY1dKMng1OGoybURidVpnVHV2TVdyZm9QenRjU3FlY0YyL0xFeGt3dU0v?= =?utf-8?B?N25tc25zOHVHU2NxUFpPZ21HMU9McVZFNkpraTJFeWhOM1hGL3VLczR3bXVy?= =?utf-8?B?cGdnU205RGZud243aU9BQXIzeEFHT29rZTdOR1pwTmJTc2FQKzhkcFNVbHZF?= =?utf-8?B?Sk1KYThYTWNhNVYzMDdHbUZ6M0pGT1N0eko3K3hJdW1QbStEdVc0a2FsSEVr?= =?utf-8?B?UElNQWJVeGhjS1kvNkZZcTBqZHNVWE1KbnhEMlJXeTMvNjdDOHRLcHlSdmhE?= =?utf-8?B?QmdTcENnNUVjYllCTy9QZkZaczhxZUh2WE1OMElDSWdHYk1BamVqamQ3cW81?= =?utf-8?B?R1czL1Y3SDViMnpHbFpkelVrM2tZQzZQT3pibUt2R1dQQjVhaG1RMGt4bGph?= =?utf-8?B?WndVakpDK05VVmxiQmR5T2drMlpDK1VHbFBJdElRcTE0OHJaTXBrUzF0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dSeVFXa2F3emZIUU14?= =?utf-8?B?UG4weWRQeGdhNnJYamF5NmE2SENKVGV5MWVNUlJ1bHVjYXdpZVQ1SnBUWXhy?= =?utf-8?B?Z05ZcmFqZWNmMy9jN1VTZUVYTi9FRmhHVW5YVFJKTmtuaFJFZUdhTWxFOVJy?= =?utf-8?B?L0dVRmNFT1RyQ0l3a1J5QXJlL1JibkNralpDUDhDRVVzRGJXc1FlRVcydTh5?= =?utf-8?B?ZjFnbWpRamhLS1VpOGRwbnJVdm5NWFdHSXhxckxFNkc0bHF1Mm8wVzZMWXlR?= =?utf-8?B?NnVkRy9XMXlxSWZ6UEt4TFRWa2lKcHoxcGZLN3BldmZBdGlkOVlUZGRZOVZG?= =?utf-8?B?Y2FKTGlBTW5SR2Z2QTFjUGtKbUhGRm5MYTNyM2Z4YmdWRmVSS29kU29kbG9r?= =?utf-8?B?eXRnSEQ5dXFyTUlOM0tZZk1rN3F5bm9xOENDVGVYcVoxOUhqTzBkb0p6ek40?= =?utf-8?B?YnNZNkczUitkL2hMRW1nTEluMEp5OTljQlRRUHZUNDNlNE9vd1hmaUdLSjQ4?= =?utf-8?B?L0lZOG1OcjdkZUord1BqRkFzZWI1STZEaDNTNk1Wa1NndDRKUHpoWHgxUVNo?= =?utf-8?B?MUxBQmdDbndTSFdURlc2QjJma2VWU2NXZStqKy80aWxwOUw4R3k4NG91ZnVV?= =?utf-8?B?S1NlaDJ6TkZvOEg4OEhhRlo4bVJCOUttVzhoUTluU09jemlDOGgxbXRZU0Fs?= =?utf-8?Q?dJj8VNlsXERq6AS/WozGRQsSt?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: cdaab260-b543-4211-8b52-08dbbdbad9b6 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Sep 2023 11:30:41.9448 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: oe2uWPdHe169BtnKsYB1ObafSvmNjLJRkViWRfcl4+FQcrBTEVNHve0JRCQdkFO1 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB8947 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 9/20/2023 4:48 PM, David Young wrote: > --- > .../building_from_sources.rst | 108 ++++++++++++++++++ > .../install_and_build/index.rst | 15 +++ > .../installing_prebuilt_packages.rst | 54 +++++++++ > .../windows_install_build.rst | 93 +++++++++++++++ > 4 files changed, 270 insertions(+) > create mode 100644 doc/guides/getting_started_guide/install_and_build/building_from_sources.rst > create mode 100644 doc/guides/getting_started_guide/install_and_build/index.rst > create mode 100644 doc/guides/getting_started_guide/install_and_build/installing_prebuilt_packages.rst > create mode 100644 doc/guides/getting_started_guide/install_and_build/windows_install_build.rst > > diff --git a/doc/guides/getting_started_guide/install_and_build/building_from_sources.rst b/doc/guides/getting_started_guide/install_and_build/building_from_sources.rst > new file mode 100644 > index 0000000000..e4ee8e436d > --- /dev/null > +++ b/doc/guides/getting_started_guide/install_and_build/building_from_sources.rst > @@ -0,0 +1,108 @@ > +.. SPDX-License-Identifier: BSD-3-Clause > + Copyright(c) 2010-2025 Intel Corporation. > + > +.. _building_from_sources: > + > +Building and Installing DPDK from Sources > +========================================= > + > +This chapter provides a comprehensive guide for building DPDK from sources on both > +Linux and FreeBSD platforms. It covers the necessary steps, prerequisites, > +and considerations for different architectures and compilers. > + > +Required Tools > +-------------- > + > +To build DPDK, you'll need the following tools: > + > +- A C compiler like ``gcc`` (version 5+) or ``clang`` (version 3.6+) > +- ``pkg-config`` or ``pkgconf`` > +- Python 3.6 or later > +- ``meson`` (version 0.53.2+) and ``ninja`` > +- ``pyelftools`` (version 0.22+) > + > Is 'libnuma' also a dependency? When I remove it in my platform and build DPDK again, getting following in meson stage: " config/meson.build:419:4: ERROR: Problem encountered: No NUMA library (development package) found, yet DPDK configured for multiple NUMA nodes. Please install libnuma, or set 'max_numa_nodes' option to '1' to build without NUMA support. " > +Here's how to install them: > + > +Linux > +^^^^^ > + > +Alpine > + > +.. code-block:: bash > + > + sudo apk add alpine-sdk bsd-compat-headers > + pip install meson ninja > + > +Debian and Ubuntu and derivatives > + > +.. code-block:: bash > + > + sudo apt install build-essential > + pip install meson ninja > + > +Fedora and RedHat Enterprise Linux RHEL > + > +.. code-block:: bash > + > + sudo dnf groupinstall "Development Tools" > + pip install meson ninja > + Above are missing some of the dependencies above, just to confirm if they are installed by default? And even if so, if we should provide explicit commands to install all, to be sure? > +openSUSE > + > +.. code-block:: bash > + > + sudo zypper install -t pattern devel_basis python3-pyelftools > + pip install meson ninja > + > +FreeBSD > +^^^^^^^ > + > +FreeBSD (as root) > + > +.. code-block:: bash > + > + pkg install meson pkgconf py38-pyelftools > + > +Note: If you're using FreeBSD, you'll also need kernel sources. Make sure they're included during the FreeBSD installation. > + > +Getting the DPDK Source > +----------------------- > + > +Download the DPDK source code from the official repository > +``https://fast.dpdk.org/rel/``. > + > +Use ``wget`` to grab the DPDK version:: > + > + wget https://fast.dpdk.org/rel/dpdk-.tar.xz > + > +Extract the downloaded archive: > + > +.. code-block:: bash > + > + tar -xvf dpdk-.tar.gz > + > +Navigate to the DPDK directory: > + > +.. code-block:: bash > + > + cd dpdk- > + > +Building DPDK > +------------- > + > +Configure the build based on your needs, hardware, and environment. > +This might include setting specific flags or options. For example: “meson setup -Dbuildtype=debugoptimized build”. Then compile using “ninja” and install using “meson install”. > + > +.. code-block:: bash > + > + ninja -C build > + cd build > + sudo ninja install> Above mentions from "meson install", here using "ninja install", should we unify it to one? > + ldconfig > + > +For detailed information on Meson build configuration options specific to DPDK, see :ref:`DPDK Meson Build Configuration Options `. > + > +Cross-Compilation Instructions for Different Architectures > +---------------------------------------------------------- > + > +For instructions on building DPDK for ARM64, LoongArch, and RISC-V, refer to :ref:`cross_compile_dpdk`. > diff --git a/doc/guides/getting_started_guide/install_and_build/index.rst b/doc/guides/getting_started_guide/install_and_build/index.rst > new file mode 100644 > index 0000000000..f4d8740fb6 > --- /dev/null > +++ b/doc/guides/getting_started_guide/install_and_build/index.rst > @@ -0,0 +1,15 @@ > +.. SPDX-License-Identifier: BSD-3-Clause > + Copyright(c) 2010-2025 Intel Corporation. > + 2025? > +.. _install_and_build: > + > +Install and Build DPDK > +====================== > + > +.. toctree:: > + :maxdepth: 2 > + > + > + installing_prebuilt_packages > + building_from_sources > + windows_install_build > \ No newline at end of file > diff --git a/doc/guides/getting_started_guide/install_and_build/installing_prebuilt_packages.rst b/doc/guides/getting_started_guide/install_and_build/installing_prebuilt_packages.rst > new file mode 100644 > index 0000000000..3e395d65f1 > --- /dev/null > +++ b/doc/guides/getting_started_guide/install_and_build/installing_prebuilt_packages.rst > @@ -0,0 +1,54 @@ > +.. SPDX-License-Identifier: BSD-3-Clause > + Copyright(c) 2010-2025 Intel Corporation. > + > +.. _installing_prebuilt_packages: > + > +Installing Pre-built Packages > +============================= > + > +Pre-built packages provide a convenient way to install DPDK without the need to compile > +the source code manually. These packages are created and maintained by the DPDK > +community or OS vendors and are available for various operating systems and > +distributions. > + > +Available Distributions > +----------------------- > + > +Linux > +^^^^^ > + > +Pre-built DPDK packages are available for several popular Linux distributions, > +including but not limited to: > + > +Alpine > + > +.. code-block:: bash > + > + sudo apk add dpdk > + > +Debian and Ubuntu and derivatives > + > +.. code-block:: bash > + > + sudo apt-get install dpdk > + > +Fedora and RedHat Enterprise Linux RHEL > + > +.. code-block:: bash > + > + sudo dnf install dpdk > + > +openSUSE > + > +.. code-block:: bash > + > + sudo zypper install dpdk > + > +FreeBSD > +^^^^^^^ > + > +To install DPDK on FreeBSD, use the following command: > + > +.. code-block:: bash > + > + sudo pkg install dpdk > \ No newline at end of file > diff --git a/doc/guides/getting_started_guide/install_and_build/windows_install_build.rst b/doc/guides/getting_started_guide/install_and_build/windows_install_build.rst > new file mode 100644 > index 0000000000..ea0e131766 > --- /dev/null > +++ b/doc/guides/getting_started_guide/install_and_build/windows_install_build.rst > @@ -0,0 +1,93 @@ > +.. SPDX-License-Identifier: BSD-3-Clause > + Copyright(c) 2010-2015 Intel Corporation. > + > +.. _windows_install_build: > + > +Windows DPDK Build > +================== > + > +Before you begin the process of building DPDK on Windows, > +make sure your system meets all the necessary requirements as outlined below. > + > +Windows System Requirements > +--------------------------- > + > +Building the DPDK and its applications on Windows requires one of the following > +environments: > + > +- The Clang-LLVM C compiler and Microsoft MSVC linker. > +- The MinGW-w64 toolchain (either native or cross). > + > What is the difference of both two, as a new DPDK user which one should I select? > +The Meson Build system is used to prepare the sources for compilation with the Ninja backend. > + > +Option 1: Clang-LLVM C Compiler and Microsoft MSVC Linker > +--------------------------------------------------------- > + > +1. Install the Compiler: Download and install the clang compiler from the > +`LLVM website `_. > + > +2. Install the Linker: Download and install the Build Tools for Visual Studio from the > +`Microsoft website `_. > +When installing build tools, select the “Visual C++ build tools” option and make sure > +the Windows SDK is selected. > + > +Option 2: MinGW-w64 Toolchain > +----------------------------- > + > +1. On Linux (for cross-compilation): Install MinGW-w64 via a package manager. > +Version 4.0.4 for Ubuntu 16.04 cannot be used due to a MinGW-w64 bug. > + > +2. On Windows: Obtain the latest version installer from the > +`MinGW-w64 repository `_. > +Any thread model (POSIX or Win32) can be chosen, DPDK does not rely on it. > +Install to a folder without spaces in its name, like ``C:\MinGW``. > +This path is assumed for the rest of this guide. > + > +Install the Build System > +------------------------ > + > +Download and install the build system from the > +`Meson website `_. > +A good option to choose is the MSI installer for both meson and ninja together. > +Recommended version is either Meson 0.57.0 (baseline) or the latest release. > + > +Install the Backend > +------------------- > + > +If using Ninja, download and install the backend from the > +`Ninja website `_ or install along with the meson build > +system. > + > +Once you have verified that your system meets these requirements, > +you can proceed with the following steps to build DPDK. > + > +Build the Code > +-------------- > + > +The build environment is setup to build the EAL and the helloworld example by default. > +To compile the examples, the flag -Dexamples is required. > + What do you think to emphasis 'helloworld' & '-Dexamples', with `` or *