Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/41167/?format=api
https://patches.dpdk.org/api/patches/41167/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20180615080120.29253-7-gavin.hu@arm.com/", "project": { "id": 1, "url": "https://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": "<20180615080120.29253-7-gavin.hu@arm.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180615080120.29253-7-gavin.hu@arm.com", "date": "2018-06-15T08:01:20", "name": "[v8,6/6] devtools: expand meson cross compiling coverage", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "96efaaa94c0d25eee9389c1aab5c1ce359deb541", "submitter": { "id": 1018, "url": "https://patches.dpdk.org/api/people/1018/?format=api", "name": "Gavin Hu", "email": "gavin.hu@arm.com" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20180615080120.29253-7-gavin.hu@arm.com/mbox/", "series": [ { "id": 139, "url": "https://patches.dpdk.org/api/series/139/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=139", "date": "2018-06-15T08:01:14", "name": "Fix the cross compiling errors", "version": 8, "mbox": "https://patches.dpdk.org/series/139/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/41167/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/41167/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 1CB7D1D950;\n\tFri, 15 Jun 2018 10:01:49 +0200 (CEST)", "from foss.arm.com (foss.arm.com [217.140.101.70])\n\tby dpdk.org (Postfix) with ESMTP id 041701D71F;\n\tFri, 15 Jun 2018 10:01:39 +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 6F30680D;\n\tFri, 15 Jun 2018 01:01:38 -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\tB48143F318; Fri, 15 Jun 2018 01:01:37 -0700 (PDT)" ], "From": "Gavin Hu <gavin.hu@arm.com>", "To": "dev@dpdk.org", "Cc": "nd@arm.com,\n\tgavin.hu@arm.com,\n\tstable@dpdk.org", "Date": "Fri, 15 Jun 2018 16:01:20 +0800", "Message-Id": "<20180615080120.29253-7-gavin.hu@arm.com>", "X-Mailer": "git-send-email 2.11.0", "In-Reply-To": "<20180615080120.29253-1-gavin.hu@arm.com>", "References": "<20180615070811.18686-1-gavin.hu@arm.com>\n\t<20180615080120.29253-1-gavin.hu@arm.com>", "Subject": "[dpdk-dev] [PATCH v8 6/6] devtools: expand meson cross compiling\n\tcoverage", "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": "The default test script covers only default host cc compiler, either gcc or\nclang, the fix is to cover both, gcc and clang. And also the build dirs are\nchanged to *-host-$c, indicating the difference of cc used.\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 | 12 +++++++++++-\n 1 file changed, 11 insertions(+), 1 deletion(-)", "diff": "diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh\nindex 8447c704b..f75ebbdb1 100755\n--- a/devtools/test-meson-builds.sh\n+++ b/devtools/test-meson-builds.sh\n@@ -50,5 +50,15 @@ for f in config/arm/arm*gcc ; do\n \tif ! command -v $c >/dev/null 2>&1 ; then\n \t\tcontinue\n \tfi\n-\tbuild build-$(basename $f | tr '_' '-' | cut -d'-' -f-2) --cross-file $f\n+ export CC=\"ccache gcc\"\n+ build build-$(basename $f | tr '_' '-' | cut -d'-' -f-2)-host-gcc \\\n+ --cross-file $f\n+ unset CC\n+ # compile the general v8a also for clang to increase coverage\n+ if [ $f = config/arm/arm64_armv8_linuxapp_gcc ] ; then\n+ export CC=\"ccache clang\"\n+ build build-$(basename $f | tr '_' '-' | cut -d'-' -f-2)-host-clang \\\n+ --cross-file $f\n+ unset CC\n+ fi\n done\n", "prefixes": [ "v8", "6/6" ] }{ "id": 41167, "url": "