doc: update cnxk native compilation steps
Checks
Commit Message
From: Jerin Jacob <jerinj@marvell.com>
Update cnxk platform documentation to use
-Dplatform meson option for native builds.
Signed-off-by: Jerin Jacob <jerinj@marvell.com>
---
doc/guides/platform/cnxk.rst | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
Comments
> -----Original Message-----
> From: jerinj@marvell.com <jerinj@marvell.com>
> Sent: Wednesday, May 18, 2022 11:03 PM
> To: dev@dpdk.org; Nithin Dabilpuram <ndabilpuram@marvell.com>; Kiran
> Kumar K <kirankumark@marvell.com>; Sunil Kumar Kori
> <skori@marvell.com>; Satha Rao <skoteshwar@marvell.com>
> Cc: thomas@monjalon.net; david.marchand@redhat.com;
> juraj.linkes@pantheon.tech; Ruifeng Wang <Ruifeng.Wang@arm.com>;
> jerinj@marvell.com
> Subject: [dpdk-dev] [PATCH] doc: update cnxk native compilation steps
>
> From: Jerin Jacob <jerinj@marvell.com>
>
> Update cnxk platform documentation to use -Dplatform meson option for
> native builds.
>
> Signed-off-by: Jerin Jacob <jerinj@marvell.com>
> ---
> doc/guides/platform/cnxk.rst | 13 ++++++++++++-
> 1 file changed, 12 insertions(+), 1 deletion(-)
>
> diff --git a/doc/guides/platform/cnxk.rst b/doc/guides/platform/cnxk.rst
> index 3dee725ac5..03190bdb14 100644
> --- a/doc/guides/platform/cnxk.rst
> +++ b/doc/guides/platform/cnxk.rst
> @@ -578,9 +578,20 @@ an x86 based platform.
> Native Compilation
> ~~~~~~~~~~~~~~~~~~
>
> +Refer to :doc:`../linux_gsg/build_dpdk` for generic native builds.
> +
> +CN9K:
> +
> +.. code-block:: console
> +
> + meson -Dplatform=cn9k build
> + ninja -C build
> +
> +CN10K:
> +
> .. code-block:: console
>
> - meson build
> + meson -Dplatform=cn10k build
> ninja -C build
>
> Cross Compilation
> --
> 2.36.1
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
On Thu, May 19, 2022 at 1:34 PM Ruifeng Wang <Ruifeng.Wang@arm.com> wrote:
>
> > -----Original Message-----
> > From: jerinj@marvell.com <jerinj@marvell.com>
> > Sent: Wednesday, May 18, 2022 11:03 PM
> > To: dev@dpdk.org; Nithin Dabilpuram <ndabilpuram@marvell.com>; Kiran
> > Kumar K <kirankumark@marvell.com>; Sunil Kumar Kori
> > <skori@marvell.com>; Satha Rao <skoteshwar@marvell.com>
> > Cc: thomas@monjalon.net; david.marchand@redhat.com;
> > juraj.linkes@pantheon.tech; Ruifeng Wang <Ruifeng.Wang@arm.com>;
> > jerinj@marvell.com
> > Subject: [dpdk-dev] [PATCH] doc: update cnxk native compilation steps
> >
> > From: Jerin Jacob <jerinj@marvell.com>
> >
> > Update cnxk platform documentation to use -Dplatform meson option for
> > native builds.
> >
> > Signed-off-by: Jerin Jacob <jerinj@marvell.com>
> > ---
> > 2.36.1
> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Applied to dpdk-next-net-mrvl/for-next-net. Thanks
>
@@ -578,9 +578,20 @@ an x86 based platform.
Native Compilation
~~~~~~~~~~~~~~~~~~
+Refer to :doc:`../linux_gsg/build_dpdk` for generic native builds.
+
+CN9K:
+
+.. code-block:: console
+
+ meson -Dplatform=cn9k build
+ ninja -C build
+
+CN10K:
+
.. code-block:: console
- meson build
+ meson -Dplatform=cn10k build
ninja -C build
Cross Compilation