Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/71941/?format=api
http://patchwork.dpdk.org/api/patches/71941/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20200622075529.24180-7-talshn@mellanox.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20200622075529.24180-7-talshn@mellanox.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200622075529.24180-7-talshn@mellanox.com", "date": "2020-06-22T07:55:26", "name": "[v8,6/9] drivers: fix incorrect meson import folder for Windows", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "84913585bbdac4c9c43ec66a6fa8d2606163aa00", "submitter": { "id": 1669, "url": "http://patchwork.dpdk.org/api/people/1669/?format=api", "name": "Tal Shnaiderman", "email": "talshn@mellanox.com" }, "delegate": { "id": 1, "url": "http://patchwork.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20200622075529.24180-7-talshn@mellanox.com/mbox/", "series": [ { "id": 10544, "url": "http://patchwork.dpdk.org/api/series/10544/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=10544", "date": "2020-06-22T07:55:23", "name": "Windows bus/pci support", "version": 8, "mbox": "http://patchwork.dpdk.org/series/10544/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/71941/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/71941/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 C3297A0350;\n\tMon, 22 Jun 2020 09:56:09 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id D19EC1D5AC;\n\tMon, 22 Jun 2020 09:55:48 +0200 (CEST)", "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id E1B431D564\n for <dev@dpdk.org>; Mon, 22 Jun 2020 09:55:42 +0200 (CEST)", "from Internal Mail-Server by MTLPINE1 (envelope-from\n talshn@mellanox.com) with SMTP; 22 Jun 2020 10:55:41 +0300", "from l-wincomp04-vm.labs.mlnx (l-wincomp04-vm.mtl.labs.mlnx\n [10.237.1.5])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 05M7tdC6017100;\n Mon, 22 Jun 2020 10:55:41 +0300" ], "From": "talshn@mellanox.com", "To": "dev@dpdk.org", "Cc": "thomas@monjalon.net, pallavi.kadam@intel.com, dmitry.kozliuk@gmail.com,\n david.marchand@redhat.com, grive@u256.net, ranjit.menon@intel.com,\n navasile@linux.microsoft.com, harini.ramakrishnan@microsoft.com,\n ocardona@microsoft.com, anatoly.burakov@intel.com, fady@mellanox.com,\n bruce.richardson@intel.com, Tal Shnaiderman <talshn@mellanox.com>", "Date": "Mon, 22 Jun 2020 10:55:26 +0300", "Message-Id": "<20200622075529.24180-7-talshn@mellanox.com>", "X-Mailer": "git-send-email 2.16.1.windows.4", "In-Reply-To": "<20200622075529.24180-1-talshn@mellanox.com>", "References": "<20200621102612.22740-2-talshn@mellanox.com>\n <20200622075529.24180-1-talshn@mellanox.com>", "Subject": "[dpdk-dev] [PATCH v8 6/9] drivers: fix incorrect meson import\n\tfolder for Windows", "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": "From: Tal Shnaiderman <talshn@mellanox.com>\n\nimport library (/IMPLIB) in meson.build should use\nthe 'drivers' and not 'libs' folder.\n\nThe error is: fatal error LNK1149: output filename matches input filename.\nThe fix uses the correct folder.\n\nFixes: 5ed3766981 (\"drivers: process shared link dependencies as for libs\")\n\nSigned-off-by: Tal Shnaiderman <talshn@mellanox.com>\n---\n drivers/meson.build | 10 +++++++---\n 1 file changed, 7 insertions(+), 3 deletions(-)", "diff": "diff --git a/drivers/meson.build b/drivers/meson.build\nindex f4b6cbf3a6..dea0ba2cca 100644\n--- a/drivers/meson.build\n+++ b/drivers/meson.build\n@@ -153,7 +153,7 @@ foreach class:dpdk_driver_classes\n \t\t\tversion_map = '@0@/@1@/@2@_version.map'.format(\n \t\t\t\t\tmeson.current_source_dir(),\n \t\t\t\t\tdrv_path, lib_name)\n-\t\t\timplib = dir_name + '.dll.a'\n+\t\t\timplib = 'lib' + lib_name + '.dll.a'\n \n \t\t\tdef_file = custom_target(lib_name + '_def',\n \t\t\t\tcommand: [map_to_def_cmd, '@INPUT@', '@OUTPUT@'],\n@@ -161,8 +161,12 @@ foreach class:dpdk_driver_classes\n \t\t\t\toutput: '@0@_exports.def'.format(lib_name))\n \t\t\tlk_deps = [version_map, def_file]\n \t\t\tif is_windows\n-\t\t\t\tlk_args = ['-Wl,/def:' + def_file.full_path(),\n-\t\t\t\t\t'-Wl,/implib:lib\\\\' + implib]\n+\t\t\t\tif is_ms_linker\n+\t\t\t\t\tlk_args = ['-Wl,/def:' + def_file.full_path(),\n+\t\t\t\t\t\t'-Wl,/implib:drivers\\\\' + implib]\n+\t\t\t\telse\n+\t\t\t\t\tlk_args = []\n+\t\t\t\tendif\n \t\t\telse\n \t\t\t\tlk_args = ['-Wl,--version-script=' + version_map]\n \t\t\t\t# on unix systems check the output of the\n", "prefixes": [ "v8", "6/9" ] }{ "id": 71941, "url": "