Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/118074/?format=api
http://patches.dpdk.org/api/patches/118074/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20221012144704.77973-2-markus.theil@tu-ilmenau.de/", "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": "<20221012144704.77973-2-markus.theil@tu-ilmenau.de>", "list_archive_url": "https://inbox.dpdk.org/dev/20221012144704.77973-2-markus.theil@tu-ilmenau.de", "date": "2022-10-12T14:47:04", "name": "[2/2] build: export dpdk_includes for subproject usage.", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "2a957b17532b7872fd494897f29cd104b5bffc58", "submitter": { "id": 747, "url": "http://patches.dpdk.org/api/people/747/?format=api", "name": "Markus Theil", "email": "markus.theil@tu-ilmenau.de" }, "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/20221012144704.77973-2-markus.theil@tu-ilmenau.de/mbox/", "series": [ { "id": 25189, "url": "http://patches.dpdk.org/api/series/25189/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=25189", "date": "2022-10-12T14:47:03", "name": "[1/2] build: allow to conditionally build apps", "version": 1, "mbox": "http://patches.dpdk.org/series/25189/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/118074/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/118074/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 C23DDA0543;\n\tWed, 12 Oct 2022 16:47:13 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 1970243096;\n\tWed, 12 Oct 2022 16:47:12 +0200 (CEST)", "from smail.rz.tu-ilmenau.de (smail.rz.tu-ilmenau.de [141.24.186.67])\n by mails.dpdk.org (Postfix) with ESMTP id EDD8B43096\n for <dev@dpdk.org>; Wed, 12 Oct 2022 16:47:10 +0200 (CEST)", "from localhost.localdomain (dialin-ip-23-165.ilmenau.net\n [80.88.23.165])\n by smail.rz.tu-ilmenau.de (Postfix) with ESMTPA id 9D6EE580099;\n Wed, 12 Oct 2022 16:47:10 +0200 (CEST)" ], "From": "Markus Theil <markus.theil@tu-ilmenau.de>", "To": "dev@dpdk.org", "Cc": "Bruce Richardson <bruce.richardson@intel.com>,\n Thorben Roemer <thorben.roemer@secunet.com>", "Subject": "[PATCH 2/2] build: export dpdk_includes for subproject usage.", "Date": "Wed, 12 Oct 2022 16:47:04 +0200", "Message-Id": "<20221012144704.77973-2-markus.theil@tu-ilmenau.de>", "X-Mailer": "git-send-email 2.38.0", "In-Reply-To": "<20221012144704.77973-1-markus.theil@tu-ilmenau.de>", "References": "<20221012144704.77973-1-markus.theil@tu-ilmenau.de>", "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": "From: Thorben Roemer <thorben.roemer@secunet.com>\n\nIn order to perform things like LTO more easily in\nour DPDK applications, we use DPDK as a meson subproject.\nAlso export includes in order to be usable in this context.\n\nSigned-off-by: Thorben Roemer <thorben.roemer@secunet.com>\n---\n drivers/meson.build | 1 +\n lib/meson.build | 1 +\n meson.build | 1 +\n 3 files changed, 3 insertions(+)", "diff": "diff --git a/drivers/meson.build b/drivers/meson.build\nindex 216971f4e2..d19b47df12 100644\n--- a/drivers/meson.build\n+++ b/drivers/meson.build\n@@ -95,6 +95,7 @@ foreach subpath:subdirs\n objs = []\n cflags = default_cflags\n includes = [include_directories(drv_path)]\n+ dpdk_includes += [include_directories(drv_path)]\n # set up internal deps. Drivers can append/override as necessary\n deps = std_deps\n # ext_deps: Stores external library dependency got\ndiff --git a/lib/meson.build b/lib/meson.build\nindex f858844fa2..85113d0b47 100644\n--- a/lib/meson.build\n+++ b/lib/meson.build\n@@ -190,6 +190,7 @@ foreach l:libraries\n \n libname = 'rte_' + name\n includes += include_directories(l)\n+ dpdk_includes += include_directories(l)\n \n if developer_mode and is_windows and use_function_versioning\n message('@0@: Function versioning is not supported by Windows.'.format(name))\ndiff --git a/meson.build b/meson.build\nindex 1d35a255c3..d1cf039297 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -32,6 +32,7 @@ cc = meson.get_compiler('c')\n dpdk_source_root = meson.current_source_dir()\n dpdk_build_root = meson.current_build_dir()\n dpdk_conf = configuration_data()\n+dpdk_includes = []\n dpdk_libraries = []\n dpdk_static_libraries = []\n dpdk_shared_lib_deps = []\n", "prefixes": [ "2/2" ] }{ "id": 118074, "url": "