get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/86880/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 86880,
    "url": "https://patches.dpdk.org/api/patches/86880/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1611045187-8097-2-git-send-email-juraj.linkes@pantheon.tech/",
    "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": "<1611045187-8097-2-git-send-email-juraj.linkes@pantheon.tech>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1611045187-8097-2-git-send-email-juraj.linkes@pantheon.tech",
    "date": "2021-01-19T08:33:05",
    "name": "[v4,1/3] build: add aarch64 clang to meson cross-compile",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "278e0e911487b86d3339de5de77036e657254f17",
    "submitter": {
        "id": 1626,
        "url": "https://patches.dpdk.org/api/people/1626/?format=api",
        "name": "Juraj Linkeš",
        "email": "juraj.linkes@pantheon.tech"
    },
    "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/1611045187-8097-2-git-send-email-juraj.linkes@pantheon.tech/mbox/",
    "series": [
        {
            "id": 14842,
            "url": "https://patches.dpdk.org/api/series/14842/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=14842",
            "date": "2021-01-19T08:33:04",
            "name": "aarch64 clang cross compilation",
            "version": 4,
            "mbox": "https://patches.dpdk.org/series/14842/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/86880/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/86880/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 01126A0A03;\n\tTue, 19 Jan 2021 09:33:21 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 1F099140D60;\n\tTue, 19 Jan 2021 09:33:16 +0100 (CET)",
            "from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20])\n by mails.dpdk.org (Postfix) with ESMTP id 8FF99140D44\n for <dev@dpdk.org>; Tue, 19 Jan 2021 09:33:11 +0100 (CET)",
            "from localhost (localhost [127.0.0.1])\n by lb.pantheon.sk (Postfix) with ESMTP id 5943FBF47B;\n Tue, 19 Jan 2021 09:33:10 +0100 (CET)",
            "from lb.pantheon.sk ([127.0.0.1])\n by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024)\n with ESMTP id IdPpBgDB5b3N; Tue, 19 Jan 2021 09:33:09 +0100 (CET)",
            "from service-node1.lab.pantheon.local (unknown [46.229.239.141])\n by lb.pantheon.sk (Postfix) with ESMTP id A4BE6BE914;\n Tue, 19 Jan 2021 09:33:08 +0100 (CET)"
        ],
        "X-Virus-Scanned": "amavisd-new at siecit.sk",
        "From": "=?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>",
        "To": "thomas@monjalon.net, david.marchand@redhat.com, aconole@redhat.com,\n maicolgabriel@hotmail.com, jerinjacobk@gmail.com, ferruh.yigit@intel.com,\n Ruifeng.Wang@arm.com",
        "Cc": "dev@dpdk.org, =?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>",
        "Date": "Tue, 19 Jan 2021 09:33:05 +0100",
        "Message-Id": "<1611045187-8097-2-git-send-email-juraj.linkes@pantheon.tech>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1611045187-8097-1-git-send-email-juraj.linkes@pantheon.tech>",
        "References": "<1601631508-5307-1-git-send-email-juraj.linkes@pantheon.tech>\n <1611045187-8097-1-git-send-email-juraj.linkes@pantheon.tech>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v4 1/3] build: add aarch64 clang to meson\n cross-compile",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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": "Create meson cross-file arm64_armv8_linux_clang_ubuntu1804.\nUse clang/LLVM toolchain with sysroot pointing to gcc cross stdlib.\n\nThe sysroot path must be in the cross-file so that Clang can find the\nproper headers:\n* setting CFLAGS, LDFLAGS or -Dc_args, -Dc_link_args doesn't affect\ncross builds (only native builds). Support added in 0.51.0.\n* setting pkg-config vars only affects lib searching, not includes\n* splitting the cross-file into two (one with clang info, one with\npaths) doesn't work. Support added in 0.52.0.\n\nSigned-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>\nReviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>\n---\n config/arm/arm64_armv8_linux_clang_ubuntu1804 | 20 +++++++++++++++++++\n 1 file changed, 20 insertions(+)\n create mode 100644 config/arm/arm64_armv8_linux_clang_ubuntu1804",
    "diff": "diff --git a/config/arm/arm64_armv8_linux_clang_ubuntu1804 b/config/arm/arm64_armv8_linux_clang_ubuntu1804\nnew file mode 100644\nindex 000000000..aa5ee0132\n--- /dev/null\n+++ b/config/arm/arm64_armv8_linux_clang_ubuntu1804\n@@ -0,0 +1,20 @@\n+[binaries]\n+c = 'clang'\n+cpp = 'clang++'\n+ar = 'llvm-ar'\n+strip = 'llvm-strip'\n+llvm-config = 'llvm-config'\n+pcap-config = 'llvm-config'\n+pkgconfig = 'aarch64-linux-gnu-pkg-config'\n+\n+[host_machine]\n+system = 'linux'\n+cpu_family = 'aarch64'\n+cpu = 'armv8-a'\n+endian = 'little'\n+\n+[properties]\n+implementor_id = 'generic'\n+implementor_pn = 'default'\n+c_args = ['-target', 'aarch64-linux-gnu', '--sysroot', '/usr/aarch64-linux-gnu']\n+c_link_args = ['-target', 'aarch64-linux-gnu', '-fuse-ld=lld', '--gcc-toolchain=/usr']\n",
    "prefixes": [
        "v4",
        "1/3"
    ]
}