Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/138168/?format=api
http://patches.dpdk.org/api/patches/138168/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20240311203129.335720-2-paul.szczepanek@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": "<20240311203129.335720-2-paul.szczepanek@arm.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20240311203129.335720-2-paul.szczepanek@arm.com", "date": "2024-03-11T20:31:25", "name": "[v10,1/5] lib: allow libraries with no sources", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "a95628b88e91a8667584249c2276d8146e8aea05", "submitter": { "id": 3199, "url": "http://patches.dpdk.org/api/people/3199/?format=api", "name": "Paul Szczepanek", "email": "paul.szczepanek@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/20240311203129.335720-2-paul.szczepanek@arm.com/mbox/", "series": [ { "id": 31466, "url": "http://patches.dpdk.org/api/series/31466/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31466", "date": "2024-03-11T20:31:24", "name": "add pointer compression API", "version": 10, "mbox": "http://patches.dpdk.org/series/31466/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/138168/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/138168/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 64BEF43C8A;\n\tMon, 11 Mar 2024 21:31:44 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 1B57D40E09;\n\tMon, 11 Mar 2024 21:31:40 +0100 (CET)", "from foss.arm.com (foss.arm.com [217.140.110.172])\n by mails.dpdk.org (Postfix) with ESMTP id AE48640647\n for <dev@dpdk.org>; Mon, 11 Mar 2024 21:31:37 +0100 (CET)", "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])\n by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id F28911007;\n Mon, 11 Mar 2024 13:32:13 -0700 (PDT)", "from ampere-altra-2-1.usa.Arm.com (ampere-altra-2-1.usa.arm.com\n [10.118.91.158])\n by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id E30A43F844;\n Mon, 11 Mar 2024 13:31:36 -0700 (PDT)" ], "From": "Paul Szczepanek <paul.szczepanek@arm.com>", "To": "dev@dpdk.org", "Cc": "bruce.richardson@intel.com, Paul Szczepanek <paul.szczepanek@arm.com>,\n Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>", "Subject": "[PATCH v10 1/5] lib: allow libraries with no sources", "Date": "Mon, 11 Mar 2024 20:31:25 +0000", "Message-Id": "<20240311203129.335720-2-paul.szczepanek@arm.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20240311203129.335720-1-paul.szczepanek@arm.com>", "References": "<20230927150854.3670391-2-paul.szczepanek@arm.com>\n <20240311203129.335720-1-paul.szczepanek@arm.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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" }, "content": "Allow header only libraries.\n\nSigned-off-by: Paul Szczepanek <paul.szczepanek@arm.com>\nReviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>\n---\n lib/meson.build | 16 ++++++++++++++++\n 1 file changed, 16 insertions(+)\n\n--\n2.25.1", "diff": "diff --git a/lib/meson.build b/lib/meson.build\nindex 179a272932..7c90602bf5 100644\n--- a/lib/meson.build\n+++ b/lib/meson.build\n@@ -222,6 +222,22 @@ foreach l:libraries\n includes += include_directories(l)\n dpdk_includes += include_directories(l)\n\n+ # special case for header only libraries\n+ if sources.length() == 0\n+ shared_dep = declare_dependency(include_directories: includes,\n+ dependencies: shared_deps)\n+ static_dep = declare_dependency(include_directories: includes,\n+ dependencies: static_deps)\n+ set_variable('shared_rte_' + name, shared_dep)\n+ set_variable('static_rte_' + name, static_dep)\n+ dpdk_shared_lib_deps += shared_dep\n+ dpdk_static_lib_deps += static_dep\n+ if developer_mode\n+ message('lib/@0@: Defining dependency \"@1@\"'.format(l, name))\n+ endif\n+ continue\n+ endif\n+\n if developer_mode and is_windows and use_function_versioning\n message('@0@: Function versioning is not supported by Windows.'.format(name))\n endif\n", "prefixes": [ "v10", "1/5" ] }{ "id": 138168, "url": "