Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/84061/?format=api
http://patches.dpdk.org/api/patches/84061/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201112142233.1433309-1-thomas@monjalon.net/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20201112142233.1433309-1-thomas@monjalon.net>", "list_archive_url": "https://inbox.dpdk.org/dev/20201112142233.1433309-1-thomas@monjalon.net", "date": "2020-11-12T14:22:33", "name": "[v2,1/1] devtools: fix build test config inheritance from env", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "fa1e63b3b1dbc1394bb361a9209f63fed6c0a573", "submitter": { "id": 685, "url": "http://patches.dpdk.org/api/people/685/?format=api", "name": "Thomas Monjalon", "email": "thomas@monjalon.net" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20201112142233.1433309-1-thomas@monjalon.net/mbox/", "series": [ { "id": 13843, "url": "http://patches.dpdk.org/api/series/13843/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13843", "date": "2020-11-12T14:22:33", "name": "[v2,1/1] devtools: fix build test config inheritance from env", "version": 2, "mbox": "http://patches.dpdk.org/series/13843/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/84061/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/84061/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 7885AA09D3;\n\tThu, 12 Nov 2020 15:22:49 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 05D8256A3;\n\tThu, 12 Nov 2020 15:22:47 +0100 (CET)", "from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com\n [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 0870C569B;\n Thu, 12 Nov 2020 15:22:44 +0100 (CET)", "from compute2.internal (compute2.nyi.internal [10.202.2.42])\n by mailout.nyi.internal (Postfix) with ESMTP id 771B75C0126;\n Thu, 12 Nov 2020 09:22:43 -0500 (EST)", "from mailfrontend1 ([10.202.2.162])\n by compute2.internal (MEProxy); Thu, 12 Nov 2020 09:22:43 -0500", "from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])\n by mail.messagingengine.com (Postfix) with ESMTPA id 1DC2D3280059;\n Thu, 12 Nov 2020 09:22:42 -0500 (EST)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding; s=fm2; bh=8vnFy3dDmc/dW\n erD/lLC3qS0JA5XLngnQ4T7lkTpJRE=; b=o3tC5Iu4aPnFOqglxq0PNY8HXlv9e\n WgzdMFjmk+LzcUtSOvfRQ6m4yeVBRIRiRXU0mxqKFlyacjQ0oA5Y9TkKvQZoIpUo\n U37lpiRagRr0bWytdZ4ASGmXhlUdFvs//DL8nPtDXt1lZvfAAMMSiaS+R9PAOdlO\n IZYMoHeAZlHPYJvMuK+cLU3xZORLWw4LQlymBaVtrgCJpAK+dYPwjHdKYm2Pct3N\n 4mNjvt4tVKrT0ZIX81F24Wg8Hy21WtSjPEhrllVQIih36hxZyJeCSVx9Ky5nqJWU\n G9AN/aQhDX/pEK/ecKVzB9cqtsRnaU3WL1D6nfuaMDmJjAWEbMtqc2CfQ==", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n messagingengine.com; h=cc:content-transfer-encoding:date:from\n :in-reply-to:message-id:mime-version:references:subject:to\n :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=\n fm1; bh=8vnFy3dDmc/dWerD/lLC3qS0JA5XLngnQ4T7lkTpJRE=; b=j8qA44UT\n w6n/4MuMh3Jd2h1Kw1O8uKe0DhSjAJW4GzjLJ97tZ2rnkw27MwNYYmPYkGoIk3/G\n TVmOjDI0esD0NNNkscgginqnVb3cA61fNdCSA3nLuC4N5ELoWpcvT/m/qxTmuLXR\n LlrgCwEGO1mME8Xg/bcpzhrweGvRDWZKCjYzYr9lMfY8/pvnMV+PVuD+5u1SgOXW\n xm5tBzhg52oHROvcrfnbyTa/GKdpT8ba0uNIPQiTifiQmmK0VTvz9+0TK1h436ih\n U0BXI3uj8NzQEZVnnZykeHgOsuKdD48d+YLpJAMGyMm/+SKjrcI8LuEJIIPK96kY\n IcI7/EtmHDzYDQ==" ], "X-ME-Sender": "<xms:MkWtXyWs9oc1CR-DXwB-ExS28deoCsn6PCgaAMKrJX9MuQuX0Lfe-A>\n <xme:MkWtX-mlwpKsMHihY5pkBlJo9aZigpAhOYDPmMPQZVBibirtFKEySJ952Xae_b3Mp\n A-dbEB-H3-0voVv1Q>", "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgedujedruddvfedgfeekucetufdoteggodetrfdotf\n fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen\n uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne\n cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgr\n shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg\n ftrfgrthhtvghrnhepvdehgfeivdejgedtveehfefhteelfefgieevgfffveefjeegtdfg\n uedthedtgeevnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf\n hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl\n ohhnrdhnvght", "X-ME-Proxy": "<xmx:MkWtX2ZSHFZBMmK1jfoOV63ef0SyawbZinNjPtI5P5ewYXILW8dExQ>\n <xmx:MkWtX5UlAssfZ3mL9WTi9Lt3r42oofYcyjLxTEKmENge4XpwyDkEaQ>\n <xmx:MkWtX8miTXVRG3HEMw6K6h8VnTkEa4oBMKEsl0z14EOdBjnNnEbNLw>\n <xmx:M0WtX9AUsay-PmIrDQyi6hO6kdfxwMAVCvf2FQo69MyUuN7yL0NSrg>", "From": "Thomas Monjalon <thomas@monjalon.net>", "To": "dev@dpdk.org", "Cc": "ferruh.yigit@intel.com, david.marchand@redhat.com,\n bruce.richardson@intel.com, stable@dpdk.org,\n Jerin Jacob <jerinj@marvell.com>, Luca Boccassi <bluca@debian.org>", "Date": "Thu, 12 Nov 2020 15:22:33 +0100", "Message-Id": "<20201112142233.1433309-1-thomas@monjalon.net>", "X-Mailer": "git-send-email 2.28.0", "In-Reply-To": "<20201109210009.919129-1-thomas@monjalon.net>", "References": "<20201109210009.919129-1-thomas@monjalon.net>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v2 1/1] devtools: fix build test config\n\tinheritance from env", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "The variables DPDK_MESON_OPTIONS, PATH, PKG_CONFIG_PATH,\nCPPFLAGS, CFLAGS and LDFLAGS can be customized in the config file\nloaded by devtools/load-devel-config at each build.\nThe configuration can be adjusted per target thanks to the value set\nin the DPDK_TARGET variable.\n\nPKG_CONFIG_PATH is specific to each target, so it must be empty\nbefore configuring each build from the file according to DPDK_TARGET.\nInheriting a default PKG_CONFIG_PATH for all targets does not make sense\nand is prone to confusion.\n\nDPDK_MESON_OPTIONS might take a global initial value from environment\nto customize a build test from the shell. Example:\n\tDPDK_MESON_OPTIONS=\"b_lto=true\"\nSome target-specific options can be added in the configuration file:\n\tDPDK_MESON_OPTIONS=\"$DPDK_MESON_OPTIONS kernel_dir=$MYKERNEL\"\n\nFixes: 272236741258 (\"devtools: load target-specific compilation environment\")\nCc: stable@dpdk.org\n\nSigned-off-by: Thomas Monjalon <thomas@monjalon.net>\nAcked-by: Bruce Richardson <bruce.richardson@intel.com>\nAcked-by: Ferruh Yigit <ferruh.yigit@intel.com>\nTested-by: Jerin Jacob <jerinj@marvell.com>\n---\nv2:\n- unset PKG_CONFIG_PATH because empty is printed by meson\n- add more comments\n---\n devtools/test-meson-builds.sh | 8 +++++---\n 1 file changed, 5 insertions(+), 3 deletions(-)", "diff": "diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh\nindex 0c95d1cc98..f32b5784f4 100755\n--- a/devtools/test-meson-builds.sh\n+++ b/devtools/test-meson-builds.sh\n@@ -38,10 +38,10 @@ else\n fi\n \n default_path=$PATH\n-default_pkgpath=$PKG_CONFIG_PATH\n default_cppflags=$CPPFLAGS\n default_cflags=$CFLAGS\n default_ldflags=$LDFLAGS\n+default_meson_options=$DPDK_MESON_OPTIONS\n \n check_cc_flags () # <flag to check> <flag2> ...\n {\n@@ -52,12 +52,14 @@ check_cc_flags () # <flag to check> <flag2> ...\n load_env () # <target compiler>\n {\n \ttargetcc=$1\n+\t# reset variables before target-specific config\n \texport PATH=$default_path\n-\texport PKG_CONFIG_PATH=$default_pkgpath\n+\tunset PKG_CONFIG_PATH # global default makes no sense\n \texport CPPFLAGS=$default_cppflags\n \texport CFLAGS=$default_cflags\n \texport LDFLAGS=$default_ldflags\n-\tunset DPDK_MESON_OPTIONS\n+\texport DPDK_MESON_OPTIONS=$default_meson_options\n+\t# set target hint for use in the loaded config file\n \tif [ -n \"$target_override\" ] ; then\n \t\tDPDK_TARGET=$target_override\n \telif command -v $targetcc >/dev/null 2>&1 ; then\n", "prefixes": [ "v2", "1/1" ] }{ "id": 84061, "url": "