[v2,3/4] doc: arm64 cross build numactl compilers

Message ID 1638875109-5544-4-git-send-email-juraj.linkes@pantheon.tech (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series arm64 cross docs improvements/fixes |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Juraj Linkeš Dec. 7, 2021, 11:05 a.m. UTC
  Numactl cross compilation doesn't work with clang, remove it and fix the
gcc cross compiler executable name.

Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
---
 doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
  

Comments

Ruifeng Wang Dec. 15, 2021, 8:38 a.m. UTC | #1
> -----Original Message-----
> From: Juraj Linkeš <juraj.linkes@pantheon.tech>
> Sent: Tuesday, December 7, 2021 7:05 PM
> To: thomas@monjalon.net; david.marchand@redhat.com; Honnappa
> Nagarahalli <Honnappa.Nagarahalli@arm.com>; Ruifeng Wang
> <Ruifeng.Wang@arm.com>; ferruh.yigit@intel.com; jerinjacobk@gmail.com
> Cc: dev@dpdk.org; Juraj Linkeš <juraj.linkes@pantheon.tech>
> Subject: [PATCH v2 3/4] doc: arm64 cross build numactl compilers
> 
> Numactl cross compilation doesn't work with clang, remove it and fix the gcc
> cross compiler executable name.
> 
> Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
> ---
>  doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> index af159bbf93..6153bc5b77 100644
> --- a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> +++ b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
> @@ -35,13 +35,14 @@ NUMA is required by most modern machines, not
> needed for non-NUMA architectures.
>     git checkout v2.0.13 -b v2.0.13
>     ./autogen.sh
>     autoconf -i
> -   ./configure --host=aarch64-linux-gnu CC=<compiler> --prefix=<numa
> install dir>
> +   ./configure --host=aarch64-linux-gnu CC=aarch64-none-linux-gnu-gcc
> + --prefix=<numa install dir>
>     make install
> 
>  .. note::
> 
> -   The compiler above can be either aarch64-linux-gnu-gcc or clang.
> -   See below for information on how to get specific compilers.
> +   The compiler is aarch64-none-linux-gnu-gcc if you download gcc using the
> +   below guide. If you're using a different compiler, make sure you're using
> +   the proper executable name.
> 
>  The numa header files and lib file is generated in the include and lib folder
> respectively under ``<numa install dir>``.
> --
> 2.20.1
Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
  

Patch

diff --git a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
index af159bbf93..6153bc5b77 100644
--- a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
+++ b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
@@ -35,13 +35,14 @@  NUMA is required by most modern machines, not needed for non-NUMA architectures.
    git checkout v2.0.13 -b v2.0.13
    ./autogen.sh
    autoconf -i
-   ./configure --host=aarch64-linux-gnu CC=<compiler> --prefix=<numa install dir>
+   ./configure --host=aarch64-linux-gnu CC=aarch64-none-linux-gnu-gcc --prefix=<numa install dir>
    make install
 
 .. note::
 
-   The compiler above can be either aarch64-linux-gnu-gcc or clang.
-   See below for information on how to get specific compilers.
+   The compiler is aarch64-none-linux-gnu-gcc if you download gcc using the
+   below guide. If you're using a different compiler, make sure you're using
+   the proper executable name.
 
 The numa header files and lib file is generated in the include and lib folder
 respectively under ``<numa install dir>``.