doc: update cnxk native compilation steps

Message ID 20220518150322.3013569-1-jerinj@marvell.com (mailing list archive)
State Accepted, archived
Delegated to: Jerin Jacob
Headers
Series doc: update cnxk native compilation steps |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/iol-aarch64-unit-testing success Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/github-robot: build success github build: passed
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-aarch64-compile-testing success Testing PASS
ci/iol-x86_64-unit-testing success Testing PASS
ci/iol-abi-testing success Testing PASS
ci/iol-x86_64-compile-testing success Testing PASS
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS

Commit Message

Jerin Jacob May 18, 2022, 3:03 p.m. UTC
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

Ruifeng Wang May 19, 2022, 8:03 a.m. UTC | #1
> -----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>
  
Jerin Jacob June 14, 2022, 1:05 p.m. UTC | #2
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


>
  

Patch

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