]> git.proxmox.com Git - ceph.git/blame - ceph/src/spdk/dpdk/doc/guides/testpmd_app_ug/build_app.rst
import 15.2.0 Octopus source
[ceph.git] / ceph / src / spdk / dpdk / doc / guides / testpmd_app_ug / build_app.rst
CommitLineData
11fdf7f2
TL
1.. SPDX-License-Identifier: BSD-3-Clause
2 Copyright(c) 2010-2014 Intel Corporation.
3
4Compiling the Application
5=========================
6
7The ``testpmd`` application is compiled as part of the main compilation of the DPDK libraries and tools.
8Refer to the DPDK Getting Started Guides for details.
9The basic compilation steps are:
10
11#. Set the required environmental variables and go to the source directory:
12
13 .. code-block:: console
14
15 export RTE_SDK=/path/to/rte_sdk
16 cd $RTE_SDK
17
18#. Set the compilation target. For example:
19
20 .. code-block:: console
21
9f95a23c 22 export RTE_TARGET=x86_64-native-linux-gcc
11fdf7f2
TL
23
24#. Build the application:
25
26 .. code-block:: console
27
28 make install T=$RTE_TARGET
29
30 The compiled application will be located at:
31
32 .. code-block:: console
33
34 $RTE_SDK/$RTE_TARGET/app/testpmd