Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/48069/?format=api
http://patchwork.dpdk.org/api/patches/48069/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20181114113453.24852-1-christian.ehrhardt@canonical.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": "<20181114113453.24852-1-christian.ehrhardt@canonical.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20181114113453.24852-1-christian.ehrhardt@canonical.com", "date": "2018-11-14T11:34:52", "name": "[1/2] build: avoid non supported -march on ppc (meson)", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "c36bc337752eddfa51a12ce9e186cc05129d5c25", "submitter": { "id": 382, "url": "http://patchwork.dpdk.org/api/people/382/?format=api", "name": "Christian Ehrhardt", "email": "christian.ehrhardt@canonical.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/20181114113453.24852-1-christian.ehrhardt@canonical.com/mbox/", "series": [ { "id": 2411, "url": "http://patchwork.dpdk.org/api/series/2411/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=2411", "date": "2018-11-14T11:34:52", "name": "[1/2] build: avoid non supported -march on ppc (meson)", "version": 1, "mbox": "http://patchwork.dpdk.org/series/2411/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/48069/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/48069/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 78B5B5F27;\n\tWed, 14 Nov 2018 12:35:57 +0100 (CET)", "from youngberry.canonical.com (youngberry.canonical.com\n\t[91.189.89.112]) by dpdk.org (Postfix) with ESMTP id 909C15F1D\n\tfor <dev@dpdk.org>; Wed, 14 Nov 2018 12:35:56 +0100 (CET)", "from 2.general.paelzer.uk.vpn ([10.172.196.173]\n\thelo=Keschdeichel.fritz.box)\n\tby youngberry.canonical.com with esmtpsa\n\t(TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.76) (envelope-from <christian.ehrhardt@canonical.com>)\n\tid 1gMtSe-0004OH-9i; Wed, 14 Nov 2018 11:35:56 +0000" ], "From": "Christian Ehrhardt <christian.ehrhardt@canonical.com>", "To": "Luca Boccassi <bluca@debian.org>,\n\tdev <dev@dpdk.org>", "Cc": "Christian Ehrhardt <christian.ehrhardt@canonical.com>", "Date": "Wed, 14 Nov 2018 12:34:52 +0100", "Message-Id": "<20181114113453.24852-1-christian.ehrhardt@canonical.com>", "X-Mailer": "git-send-email 2.17.1", "Subject": "[dpdk-dev] [PATCH 1/2] build: avoid non supported -march on ppc\n\t(meson)", "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "So far only if machine was \"native\" it did use the re-direction to\nnot set -march on ppc64 (where -march is not supported).\nWe have to use mcpu/mtune in any case on ppc for whatever someone using\nthe build system defines as machine.\n\nSigned-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>\n---\n config/meson.build | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)", "diff": "diff --git a/config/meson.build b/config/meson.build\nindex 0b710b795..1af305f46 100644\n--- a/config/meson.build\n+++ b/config/meson.build\n@@ -9,8 +9,9 @@ else\n endif\n dpdk_conf.set('RTE_MACHINE', machine)\n machine_args = []\n-# ppc64 does not support -march=native\n-if host_machine.cpu_family().startswith('ppc') and machine == 'native'\n+\n+# ppc64 does not support -march= at all, use -mcpu and -mtune for that\n+if host_machine.cpu_family().startswith('ppc')\n \tmachine_args += '-mcpu=' + machine\n \tmachine_args += '-mtune=' + machine\n else\n", "prefixes": [ "1/2" ] }{ "id": 48069, "url": "