[v2,3/4] doc: arm64 cross build numactl compilers
Checks
Commit Message
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
> -----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>
@@ -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>``.