From patchwork Wed Feb 13 05:41:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Varghese, Vipin" X-Patchwork-Id: 50283 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 576C16C9B; Wed, 13 Feb 2019 06:41:13 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 8440E5F24 for ; Wed, 13 Feb 2019 06:41:11 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Feb 2019 21:41:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,364,1544515200"; d="scan'208";a="133877625" Received: from unknown (HELO saesrv02-S2600CWR.intel.com) ([10.224.122.203]) by orsmga002.jf.intel.com with ESMTP; 12 Feb 2019 21:41:07 -0800 From: Vipin Varghese To: john.mcnamara@intel.com, marko.kovacevic@intel.com, thomas@monjalon.net, ferruh.yigit@intel.com, bruce.richardson@intel.com, dev@dpdk.org Cc: sanjay.padubidri@intel.com, amol.patel@intel.com, Vipin Varghese Date: Wed, 13 Feb 2019 11:11:06 +0530 Message-Id: <20190213054106.45163-1-vipin.varghese@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190129101036.35002-1-vipin.varghese@intel.com> References: <20190129101036.35002-1-vipin.varghese@intel.com> Subject: [dpdk-dev] [PATCH v6] doc/patches: add meson build to contributing guide 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" Patches has to be validated for meson devtool script for code and document changes. Updating documentation for meson build steps in checking Compilation category. Signed-off-by: Vipin Varghese Tested-by: Marko Kovacevic Acked-by: Marko Kovacevic --- V6: added 'Makefile' sub-header - Thomas Monjalon reword the content - Thomas Monjalon V5: create sub section to Compilation - Thomas Monjalon remove Linux and BSD references - Thomas Monjalon reword tool chain to toolchain - Thomas Monjalon V4: spelling correction for Compilation - Thomas Monjalon restored double space for new header - Thomas Monjalon reword the meson compilation content - Vipin Varghese added 'tested' and 'acked' from - Marko Kovacevic V3: removed extra character - Vipin Varghese V2: updated the meson build options - Bruce Richardson --- doc/guides/contributing/patches.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/guides/contributing/patches.rst b/doc/guides/contributing/patches.rst index a64bb0368..211a5cdc7 100644 --- a/doc/guides/contributing/patches.rst +++ b/doc/guides/contributing/patches.rst @@ -431,6 +431,9 @@ Where the range is a ``git log`` option. Checking Compilation -------------------- +Makefile System +~~~~~~~~~~~~~~~ + Compilation of patches and changes should be tested using the ``test-build.sh`` script in the ``devtools`` directory of the DPDK repo:: @@ -473,6 +476,14 @@ The recommended configurations and options to test compilation prior to submitti export DPDK_DEP_PCAP=y export DPDK_DEP_SSL=y +Meson System +~~~~~~~~~~~~ + +Compilation of patches is to be tested with ``devtools/test-meson-builds.sh`` script. + +The script internally checks for dependencies, then builds for several +combinations of compilation configuration. + Sending Patches ---------------