f-stack/dpdk/doc/guides/testpmd_app_ug/build_app.rst

35 lines
842 B
ReStructuredText
Raw Normal View History

2019-06-25 11:12:58 +00:00
.. SPDX-License-Identifier: BSD-3-Clause
Copyright(c) 2010-2014 Intel Corporation.
2017-04-21 10:43:26 +00:00
Compiling the Application
=========================
The ``testpmd`` application is compiled as part of the main compilation of the DPDK libraries and tools.
Refer to the DPDK Getting Started Guides for details.
The basic compilation steps are:
#. Set the required environmental variables and go to the source directory:
.. code-block:: console
export RTE_SDK=/path/to/rte_sdk
cd $RTE_SDK
#. Set the compilation target. For example:
.. code-block:: console
2020-06-18 16:55:50 +00:00
export RTE_TARGET=x86_64-native-linux-gcc
2017-04-21 10:43:26 +00:00
#. Build the application:
.. code-block:: console
make install T=$RTE_TARGET
The compiled application will be located at:
.. code-block:: console
$RTE_SDK/$RTE_TARGET/app/testpmd