Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/41092/?format=api
http://patches.dpdk.org/api/patches/41092/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180614095127.16245-6-gavin.hu@arm.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": "<20180614095127.16245-6-gavin.hu@arm.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180614095127.16245-6-gavin.hu@arm.com", "date": "2018-06-14T09:51:25", "name": "[v6,5/7] devtools: fix the missing ninja command error on CentOS", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "feb1f1c7449c2b9c973821b6be9d3171e75bee3f", "submitter": { "id": 1018, "url": "http://patches.dpdk.org/api/people/1018/?format=api", "name": "Gavin Hu", "email": "gavin.hu@arm.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/20180614095127.16245-6-gavin.hu@arm.com/mbox/", "series": [ { "id": 120, "url": "http://patches.dpdk.org/api/series/120/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=120", "date": "2018-06-14T09:51:20", "name": "*** fix the cross compile errors ***", "version": 6, "mbox": "http://patches.dpdk.org/series/120/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/41092/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/41092/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 8913B1E945;\n\tThu, 14 Jun 2018 11:51:57 +0200 (CEST)", "from foss.arm.com (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70])\n\tby dpdk.org (Postfix) with ESMTP id 3A5461E4D1;\n\tThu, 14 Jun 2018 11:51:49 +0200 (CEST)", "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249])\n\tby usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A3B9F1529;\n\tThu, 14 Jun 2018 02:51:48 -0700 (PDT)", "from net-debian.shanghai.arm.com (net-debian.shanghai.arm.com\n\t[10.169.36.53])\n\tby usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id\n\t341103F59D; Thu, 14 Jun 2018 02:51:48 -0700 (PDT)" ], "From": "Gavin Hu <gavin.hu@arm.com>", "To": "dev@dpdk.org", "Cc": "stable@dpdk.org", "Date": "Thu, 14 Jun 2018 17:51:25 +0800", "Message-Id": "<20180614095127.16245-6-gavin.hu@arm.com>", "X-Mailer": "git-send-email 2.11.0", "In-Reply-To": "<20180614095127.16245-1-gavin.hu@arm.com>", "References": "<1527590616-28299-1-git-send-email-gavin.hu@arm.com>\n\t<20180614095127.16245-1-gavin.hu@arm.com>", "Subject": "[dpdk-dev] [PATCH v6 5/7] devtools: fix the missing ninja command\n\terror on CentOS", "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://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "On CentOS, the ninja executable has a different name:\nninja-build, this patch is to fix the missing command error\non CentOS as follows:\n./devtools/test-meson-builds.sh: line 24: ninja: command not found\n\nFixes: a55277a788 (\"devtools: add test script for meson builds\")\nCc: stable@dpdk.org\n\nSigned-off-by: Gavin Hu <gavin.hu@arm.com>\nReviewed-by: Phil Yang <phil.yang@arm.com>\nReviewed-by: Song Zhu <song.zhu@arm.com>\n---\n devtools/test-meson-builds.sh | 6 +++++-\n 1 file changed, 5 insertions(+), 1 deletion(-)", "diff": "diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh\nindex 6bce3df7f..4afac76dd 100755\n--- a/devtools/test-meson-builds.sh\n+++ b/devtools/test-meson-builds.sh\n@@ -21,7 +21,11 @@ build () # <directory> <meson options>\n \t\t$MESON $options $srcdir $builddir\n \tfi\n \techo \"ninja -C $builddir\"\n-\tninja -C $builddir\n+\tif [ \"$(lsb_release -d | grep -c 'CentOS')\" != \"0\" ] ; then\n+\t\tninja-build -C $builddir\n+\telse\n+\t\tninja -C $builddir\n+\tfi\n }\n \n # shared and static linked builds with gcc and clang\n", "prefixes": [ "v6", "5/7" ] }{ "id": 41092, "url": "