From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1A580A034C; Tue, 18 Aug 2020 15:12:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6CCC82BAA; Tue, 18 Aug 2020 15:12:04 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id D3D032B91 for ; Tue, 18 Aug 2020 15:12:02 +0200 (CEST) IronPort-SDR: IN7GYJ4HuZ3BNx24ozsXGI+Q3t+Lj8KxrL/sf6edbP90YAKPniGfYTuWwJv5JYIPvPdh22MbbX FGkM/vRIUVzg== X-IronPort-AV: E=McAfee;i="6000,8403,9716"; a="134414741" X-IronPort-AV: E=Sophos;i="5.76,327,1592895600"; d="scan'208";a="134414741" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2020 06:12:01 -0700 IronPort-SDR: Id3yUm1NIXL5Qr94ldc68ErngtkUtWlzeVccY6xoOZtdugH9+4hsqoawSM+ZZEzG61GBCevu4L o5rwFkMBSopw== X-IronPort-AV: E=Sophos;i="5.76,327,1592895600"; d="scan'208";a="471801313" Received: from bricha3-mobl.ger.corp.intel.com ([10.252.19.21]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 18 Aug 2020 06:11:59 -0700 Date: Tue, 18 Aug 2020 14:11:56 +0100 From: Bruce Richardson To: Ciara Power Cc: dev@dpdk.org, thomas@monjalon.net Message-ID: <20200818131156.GD500@bricha3-MOBL.ger.corp.intel.com> References: <20200807123009.21266-1-ciara.power@intel.com> <20200807123009.21266-13-ciara.power@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200807123009.21266-13-ciara.power@intel.com> Subject: Re: [dpdk-dev] [PATCH 20.11 12/19] doc: remove references to make in Linux gsg guides X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Aug 07, 2020 at 01:30:02PM +0100, Ciara Power wrote: > Make is no longer supported for compiling DPDK, references are now > removed in the documentation. > > Signed-off-by: Ciara Power > --- > doc/guides/linux_gsg/build_dpdk.rst | 58 ------------------- > doc/guides/linux_gsg/build_sample_apps.rst | 16 +---- > .../linux_gsg/cross_build_dpdk_for_arm64.rst | 42 -------------- > doc/guides/linux_gsg/enable_func.rst | 3 - > doc/guides/linux_gsg/intro.rst | 2 +- > doc/guides/linux_gsg/linux_drivers.rst | 2 - > doc/guides/linux_gsg/sys_reqs.rst | 4 -- > 7 files changed, 4 insertions(+), 123 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 c5875a6d57..dc8e640835 100644 > --- a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst > +++ b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst > @@ -99,45 +99,3 @@ command:: > The title of this section "Cross Compiling DPDK using Meson" should just be renamed to "Cross Compiling DPDK". Also, the note in the previous section 4.4 "Augment the cross toolchain...", refers to the meson build and using CFLAGS and LDFLAGS, but there is no actual reference to them in the meson build instructions - instead they are discussed in the make build section. So I think that note should have the section reference removed, i.e. finish the note/sentence at the comma after LDFLAGS. > meson arm64-build --cross-file config/arm/arm64_armv8_linux_gcc > ninja -C arm64-build > - > -Configure and Cross Compile DPDK using Make > -------------------------------------------- > -To configure a build, choose one of the target configurations, like arm64-dpaa-linux-gcc and arm64-thunderx-linux-gcc. > - > -.. code-block:: console > - > - make config T=arm64-armv8a-linux-gcc > - > -To cross-compile, without compiling the kernel modules, use the following command: > - > -.. code-block:: console > - > - make -j CROSS=aarch64-linux-gnu- CONFIG_RTE_KNI_KMOD=n CONFIG_RTE_EAL_IGB_UIO=n > - > -To cross-compile, including the kernel modules, the kernel source tree needs to be specified by setting > -RTE_KERNELDIR: > - > -.. code-block:: console > - > - make -j CROSS=aarch64-linux-gnu- RTE_KERNELDIR= CROSS_COMPILE=aarch64-linux-gnu- > - > -To compile for non-NUMA targets, without compiling the kernel modules, use the following command: > - > -.. code-block:: console > - > - make -j CROSS=aarch64-linux-gnu- CONFIG_RTE_KNI_KMOD=n CONFIG_RTE_EAL_IGB_UIO=n CONFIG_RTE_LIBRTE_VHOST_NUMA=n CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n > - > -.. note:: > - > - 1. EXTRA_CFLAGS and EXTRA_LDFLAGS should be added to include the NUMA headers and link the library respectively, > - if the above step :ref:`augment_the_cross_toolchain_with_numa_support` was skipped therefore the toolchain was not > - augmented with NUMA support. > - > - 2. "-isystem /include" should be add to EXTRA_CFLAGS, otherwise the numa.h file will get a lot of compiling > - errors of Werror=cast-qual, Werror=strict-prototypes and Werror=old-style-definition. > - > - An example is given below: > - > - .. code-block:: console > - > - make -j CROSS=aarch64-linux-gnu- CONFIG_RTE_KNI_KMOD=n CONFIG_RTE_EAL_IGB_UIO=n EXTRA_CFLAGS="-isystem /include" EXTRA_LDFLAGS="-L/lib -lnuma"