Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/63402/?format=api
http://patches.dpdk.org/api/patches/63402/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20191129210905.1865-4-kevin.laatz@intel.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": "<20191129210905.1865-4-kevin.laatz@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20191129210905.1865-4-kevin.laatz@intel.com", "date": "2019-11-29T21:09:01", "name": "[v3,3/7] devtools: add abi dump generation script", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "43a1dae22d61906970a13193bd86e3a46db13fda", "submitter": { "id": 921, "url": "http://patches.dpdk.org/api/people/921/?format=api", "name": "Kevin Laatz", "email": "kevin.laatz@intel.com" }, "delegate": { "id": 24651, "url": "http://patches.dpdk.org/api/users/24651/?format=api", "username": "dmarchand", "first_name": "David", "last_name": "Marchand", "email": "david.marchand@redhat.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20191129210905.1865-4-kevin.laatz@intel.com/mbox/", "series": [ { "id": 7693, "url": "http://patches.dpdk.org/api/series/7693/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=7693", "date": "2019-11-29T21:08:58", "name": "Add ABI compatibility checks to the meson build", "version": 3, "mbox": "http://patches.dpdk.org/series/7693/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/63402/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/63402/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 9A614A04E0;\n\tFri, 29 Nov 2019 22:09:48 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 5BBB258C4;\n\tFri, 29 Nov 2019 22:09:29 +0100 (CET)", "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by dpdk.org (Postfix) with ESMTP id BE49F2B88\n for <dev@dpdk.org>; Fri, 29 Nov 2019 22:09:24 +0100 (CET)", "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n 29 Nov 2019 13:09:24 -0800", "from silpixa00399838.ir.intel.com (HELO\n silpixa00399838.ger.corp.intel.com) ([10.237.222.120])\n by orsmga008.jf.intel.com with ESMTP; 29 Nov 2019 13:09:22 -0800" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.69,258,1571727600\"; d=\"scan'208\";a=\"203832631\"", "From": "Kevin Laatz <kevin.laatz@intel.com>", "To": "dev@dpdk.org", "Cc": "david.marchand@redhat.com, thomas@monjalon.net,\n bruce.richardson@intel.com,\n ray.kinsella@intel.com, Kevin Laatz <kevin.laatz@intel.com>", "Date": "Fri, 29 Nov 2019 21:09:01 +0000", "Message-Id": "<20191129210905.1865-4-kevin.laatz@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20191129210905.1865-1-kevin.laatz@intel.com>", "References": "<20191129171024.56165-1-kevin.laatz@intel.com>\n <20191129210905.1865-1-kevin.laatz@intel.com>", "Subject": "[dpdk-dev] [PATCH v3 3/7] devtools: add abi dump generation script", "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": "This patch adds a script to generate ABI dump files. These files will be\nrequired to perform ABI compatibility checks during the build later in the\npatchset. This script should be run on a DPDK version with a stable ABI.\n\nSince this is a tool designed for human use, we simplify it to just work\noff a whole build directory, taking the parameter of the builddir and\ngenerating the lib|drivers/abi dir. This is hardcoded into the script since\nthe meson build expects the .dump files in these directories.\n\nSigned-off-by: Kevin Laatz <kevin.laatz@intel.com>\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n devtools/gen-abi-dump.sh | 24 ++++++++++++++++++++++++\n 1 file changed, 24 insertions(+)\n create mode 100755 devtools/gen-abi-dump.sh", "diff": "diff --git a/devtools/gen-abi-dump.sh b/devtools/gen-abi-dump.sh\nnew file mode 100755\nindex 000000000..ffedef10c\n--- /dev/null\n+++ b/devtools/gen-abi-dump.sh\n@@ -0,0 +1,24 @@\n+#!/bin/sh\n+\n+builddir=$1\n+\n+if [ -z \"$builddir\" ] ; then\n+\techo \"Usage: $(basename $0) build_dir\"\n+\texit 1\n+fi\n+\n+if [ ! -d \"$builddir\" ] ; then\n+\techo \"Error: build directory, '$builddir', doesn't exist\"\n+\texit 1\n+fi\n+\n+for d in lib drivers ; do\n+\tmkdir -p $d/abi\n+\n+\tfor f in $builddir/$d/*.so* ; do\n+\t\ttest -L \"$f\" && continue\n+\n+\t\tlibname=$(basename $f)\n+\t\tabidw --out-file $d/abi/${libname%.so*}.dump $f || exit 1\n+\tdone\n+done\n", "prefixes": [ "v3", "3/7" ] }{ "id": 63402, "url": "