DPDK patches and discussions
 help / color / Atom feed
From: Joyce Kong <joyce.kong@arm.com>
To: dev@dpdk.org
Cc: nd@arm.com, thomas@monjalon.net, jerinj@marvell.com,
	honnappa.nagarahalli@arm.com, gavin.hu@arm.com, stable@dpdk.org
Subject: [dpdk-dev] [PATCH v2] doc: update cross build tool version desc and fix compiling issue
Date: Wed, 23 Oct 2019 11:42:16 +0800
Message-ID: <1571802136-20295-1-git-send-email-joyce.kong@arm.com> (raw)
In-Reply-To: <1570848014-20125-1-git-send-email-joyce.kong@arm.com>

Update the cross build tool version to common description.
And remove the command 'git checkout' when cross builing
which results in compiling error.

Fixes: 01add9da25cd ("doc: add cross compiling guide")
Cc: stable@dpdk.org

Signed-off-by: Joyce Kong <joyce.kong@arm.com>
 doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 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 28a8e09..fa7df1c 100644
--- a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
+++ b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst
@@ -16,19 +16,19 @@ Obtain the cross tool chain
 The latest cross compile tool chain can be downloaded from:
-Following is the step to get the version 8.2, latest one at the time of this writing.
+Following is the example to get the version 8.3, latest one at the time of this writing.
 .. code-block:: console
-   wget https://developer.arm.com/-/media/Files/downloads/gnu-a/8.2-2019.01/gcc-arm-8.2-2019.01-x86_64-aarch64-linux-gnu.tar.xz
+   wget https://developer.arm.com/-/media/Files/downloads/gnu-a/8.3-2019.03/binrel/gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu.tar.xz
 Unzip and add into the PATH
 .. code-block:: console
-   tar -xvf gcc-arm-8.2-2019.01-x86_64-aarch64-linux-gnu.tar.xz
-   export PATH=$PATH:<cross_install_dir>/gcc-arm-8.2-2019.01-x86_64-aarch64-linux-gnu/bin
+   tar -xvf gcc-arm-<version>-x86_64-aarch64-linux-gnu.tar.xz
+   export PATH=$PATH:<cross_install_dir>/gcc-arm-<version>-x86_64-aarch64-linux-gnu/bin
 .. note::
@@ -50,7 +50,6 @@ NUMA is required by most modern machines, not needed for non-NUMA architectures.
    git clone https://github.com/numactl/numactl.git
    cd numactl
-   git checkout v2.0.11 -b v2.0.11
    autoconf -i
    ./configure --host=aarch64-linux-gnu CC=aarch64-linux-gnu-gcc --prefix=<numa install dir>
@@ -71,9 +70,9 @@ Copy the NUMA header files and lib to the cross compiler's directories:
 .. code-block:: console
-   cp <numa_install_dir>/include/numa*.h <cross_install_dir>/gcc-arm-8.2-2019.01-x86_64-aarch64-linux-gnu/bin/../aarch64-linux-gnu/libc/usr/include/
-   cp <numa_install_dir>/lib/libnuma.a <cross_install_dir>/gcc-arm-8.2-2019.01-x86_64-aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/8.2/
-   cp <numa_install_dir>/lib/libnuma.so <cross_install_dir>/gcc-arm-8.2-2019.01-x86_64-aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/8.2/
+   cp <numa_install_dir>/include/numa*.h <cross_install_dir>/gcc-arm-<version>-x86_64-aarch64-linux-gnu/bin/../aarch64-linux-gnu/libc/usr/include/
+   cp <numa_install_dir>/lib/libnuma.a <cross_install_dir>/gcc-arm-<version>-x86_64-aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/<version>/
+   cp <numa_install_dir>/lib/libnuma.so <cross_install_dir>/gcc-arm-<version>-x86_64-aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/<version>/
 .. _configure_and_cross_compile_dpdk_build:

  parent reply index

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-12  2:40 [dpdk-dev] [PATCH v1] doc: update cross build tool links " Joyce Kong
2019-10-12 13:03 ` Jerin Jacob
2019-10-23  5:47   ` Joyce Kong (Arm Technology China)
2019-10-23  3:42 ` Joyce Kong [this message]
2019-11-28  6:32 ` [dpdk-dev] [PATCH v3] doc: update cross build tool version Joyce Kong
2019-11-28 11:04   ` Jerin Jacob
2019-11-28 21:32     ` [dpdk-dev] [dpdk-stable] " Thomas Monjalon

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1571802136-20295-1-git-send-email-joyce.kong@arm.com \
    --to=joyce.kong@arm.com \
    --cc=dev@dpdk.org \
    --cc=gavin.hu@arm.com \
    --cc=honnappa.nagarahalli@arm.com \
    --cc=jerinj@marvell.com \
    --cc=nd@arm.com \
    --cc=stable@dpdk.org \
    --cc=thomas@monjalon.net \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK patches and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ http://inbox.dpdk.org/dev \
	public-inbox-index dev

Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/ public-inbox