Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/87269/?format=api
http://patches.dpdk.org/api/patches/87269/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210125221251.19147-4-dmitry.kozliuk@gmail.com/", "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": "<20210125221251.19147-4-dmitry.kozliuk@gmail.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210125221251.19147-4-dmitry.kozliuk@gmail.com", "date": "2021-01-25T22:12:50", "name": "[3/3] buildtools: use build subdirectory for temporary files", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "3ec0d9532af03b6a37e4e089fb413880f3872a76", "submitter": { "id": 1581, "url": "http://patches.dpdk.org/api/people/1581/?format=api", "name": "Dmitry Kozlyuk", "email": "dmitry.kozliuk@gmail.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210125221251.19147-4-dmitry.kozliuk@gmail.com/mbox/", "series": [ { "id": 14938, "url": "http://patches.dpdk.org/api/series/14938/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=14938", "date": "2021-01-25T22:12:47", "name": "pmdinfogen fixes", "version": 1, "mbox": "http://patches.dpdk.org/series/14938/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/87269/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/87269/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 262E0A052A;\n\tMon, 25 Jan 2021 23:13:26 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id E7F941411BD;\n\tMon, 25 Jan 2021 23:13:11 +0100 (CET)", "from mail-lj1-f180.google.com (mail-lj1-f180.google.com\n [209.85.208.180])\n by mails.dpdk.org (Postfix) with ESMTP id 7E2791411B1\n for <dev@dpdk.org>; Mon, 25 Jan 2021 23:13:08 +0100 (CET)", "by mail-lj1-f180.google.com with SMTP id s18so4132038ljg.7\n for <dev@dpdk.org>; Mon, 25 Jan 2021 14:13:08 -0800 (PST)", "from localhost.localdomain (broadband-37-110-65-23.ip.moscow.rt.ru.\n [37.110.65.23])\n by smtp.gmail.com with ESMTPSA id w2sm533831lfd.305.2021.01.25.14.13.06\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 25 Jan 2021 14:13:07 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=gmFjSETzsYYjqaxj3S1G/eJ/PmYRFDEM4IWgevvCfak=;\n b=bmb/gL13BdkiZrCVewmWQf55QAQU+sfyfUJeNhUVW04ptF1uWzD94nCI8pTvqBP1yw\n ayqHzKz49oCsgKapSG+hPHvx/dqIFwCUEu3Lj6a0ZxmOURcIECP1tO4KQqAjNsWH8gpq\n yaosWHp+7G1GRxLt/5q1XYzi/AEwGtXbl1Z/o60tDWv5TNzdoPKwlDPkjBr7UdbmVp9R\n BqsAOMtnkvifhP5UWPq+BNv7HfMsHlXtaGmxlRzPTU4ucGuLYsi9Xm2a4ZQSae2GVbhy\n Aq+ax+9+CxkLfHaSO9F4ooOFUUWV1eAggR5K9CIlQzHxT7QWAT0S5zIkpp3ZkhSZs1p7\n 309A==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=gmFjSETzsYYjqaxj3S1G/eJ/PmYRFDEM4IWgevvCfak=;\n b=H0MDHtz7J0kaGN3Ltv30OD2DfKxzc2DqitBgtFilK+lguZMvwB1LUIpbqU/qSqBoGA\n oY9EiBK+Xfuak1IpYmhZyo3ckKD6Vy5tPCfQRTuRTC4GGuhmz6nWbhDl0VVQShbQGT+t\n QPqCWR49/feQfsgamtLzc6xMYjWquJaHSL6MuNNVW+OWmWKXJAGmz93+ZrjGJA6cL7Hz\n 94e6+lOjv/KBEQU5MdAjR/Tt+c5gBwyqZwFEq2cWqZsqLEyUIFg9w2YUtP4dglU7mgWC\n DKMogBBkMrvpJggkf2kptY9CN/BeocZq3g0HbFVHvvVY8T9KBRj4NX/8W9hxDfJ99HT0\n g9Dw==", "X-Gm-Message-State": "AOAM531YfkKq1+LR3/tJCaab6QkmBMPMlrBHYKo1/sSxWe/MKBFkZSH5\n r9kqAY2sDPKfQqLFK5FfiG1O6/eH3Vw=", "X-Google-Smtp-Source": "\n ABdhPJyhvRQF3jPS9EFacKWQGr56mAJhm7pBeVEI3vVxp0CpeAhFYr53jQaNHobIu9lVevaj0DJ6gg==", "X-Received": "by 2002:a2e:9613:: with SMTP id v19mr1162281ljh.135.1611612787803;\n Mon, 25 Jan 2021 14:13:07 -0800 (PST)", "From": "Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>", "To": "dev@dpdk.org", "Cc": "Ali Alnubani <alialnu@nvidia.com>,\n Bruce Richardson <bruce.richardson@intel.com>,\n Thomas Monjalon <thomas@monjalon.net>,\n Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>", "Date": "Tue, 26 Jan 2021 01:12:50 +0300", "Message-Id": "<20210125221251.19147-4-dmitry.kozliuk@gmail.com>", "X-Mailer": "git-send-email 2.29.2", "In-Reply-To": "<20210125221251.19147-1-dmitry.kozliuk@gmail.com>", "References": "<20210125221251.19147-1-dmitry.kozliuk@gmail.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH 3/3] buildtools: use build subdirectory for\n temporary files", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "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": "Use current build directory as base for temporary directories,\nso that all build files are isolated there.\n\nFixes: caaca1ec6a8e (\"buildtools: support object file extraction for Windows\")\n\nSigned-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>\n---\nThomas asked to send this as a follow-up before regression has been\nnoticed, may be squashed with commit mentioned above or applied on its own.\n\n buildtools/gen-pmdinfo-cfile.py | 4 ++--\n buildtools/meson.build | 2 +-\n 2 files changed, 3 insertions(+), 3 deletions(-)", "diff": "diff --git a/buildtools/gen-pmdinfo-cfile.py b/buildtools/gen-pmdinfo-cfile.py\nindex c60ecd7f6..a4e080199 100644\n--- a/buildtools/gen-pmdinfo-cfile.py\n+++ b/buildtools/gen-pmdinfo-cfile.py\n@@ -7,8 +7,8 @@\n import sys\n import tempfile\n \n-_, ar, archive, output, *pmdinfogen = sys.argv\n-with tempfile.TemporaryDirectory() as temp:\n+_, tmp_root, ar, archive, output, *pmdinfogen = sys.argv\n+with tempfile.TemporaryDirectory(dir=tmp_root) as temp:\n proc = subprocess.run(\n # Don't use \"ar p\", because its output is corrupted on Windows.\n [ar, \"xv\", os.path.abspath(archive)], stdout=subprocess.PIPE, check=True, cwd=temp\ndiff --git a/buildtools/meson.build b/buildtools/meson.build\nindex 0a2e91a7b..9c9347457 100644\n--- a/buildtools/meson.build\n+++ b/buildtools/meson.build\n@@ -18,7 +18,7 @@ map_to_win_cmd = py3 + files('map_to_win.py')\n sphinx_wrapper = py3 + files('call-sphinx-build.py')\n \n # select library and object file format\n-pmdinfo = py3 + files('gen-pmdinfo-cfile.py')\n+pmdinfo = py3 + files('gen-pmdinfo-cfile.py') + [meson.current_build_dir()]\n pmdinfogen = py3 + files('pmdinfogen.py')\n if host_machine.system() == 'windows'\n \tif cc.get_id() == 'gcc'\n", "prefixes": [ "3/3" ] }{ "id": 87269, "url": "