Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/65931/?format=api
http://patchwork.dpdk.org/api/patches/65931/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20200219190802.35758-1-ruslan@babayev.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": "<20200219190802.35758-1-ruslan@babayev.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200219190802.35758-1-ruslan@babayev.com", "date": "2020-02-19T19:08:02", "name": "[1/2] build: add combined libs", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "e1e0325e2fa5aa1ed1bdc445125f84b059993117", "submitter": { "id": 1599, "url": "http://patchwork.dpdk.org/api/people/1599/?format=api", "name": "Ruslan Babayev", "email": "ruslan@babayev.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/20200219190802.35758-1-ruslan@babayev.com/mbox/", "series": [ { "id": 8622, "url": "http://patchwork.dpdk.org/api/series/8622/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=8622", "date": "2020-02-19T19:08:02", "name": "[1/2] build: add combined libs", "version": 1, "mbox": "http://patchwork.dpdk.org/series/8622/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/65931/comments/", "check": "fail", "checks": "http://patchwork.dpdk.org/api/patches/65931/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 77DBFA0555;\n\tWed, 19 Feb 2020 22:31:50 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id B392C1BF9C;\n\tWed, 19 Feb 2020 22:31:33 +0100 (CET)", "from mail-pf1-f194.google.com (mail-pf1-f194.google.com\n [209.85.210.194]) by dpdk.org (Postfix) with ESMTP id 3B5F523D\n for <dev@dpdk.org>; Wed, 19 Feb 2020 20:08:09 +0100 (CET)", "by mail-pf1-f194.google.com with SMTP id 2so516394pfg.12\n for <dev@dpdk.org>; Wed, 19 Feb 2020 11:08:09 -0800 (PST)", "from baku.babayev.lan (50-47-143-95.evrt.wa.frontiernet.net.\n [50.47.143.95])\n by smtp.gmail.com with ESMTPSA id r198sm401544pfr.54.2020.02.19.11.08.06\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 19 Feb 2020 11:08:06 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=babayev.com; s=google;\n h=from:to:cc:subject:date:message-id;\n bh=BPNMco1N07iGa15TKIxpYBFF+pv09wCR6HrWkzZMFIs=;\n b=NclL9WmR9dA/TnUDkESUBQaf+MT+kAfxvjQfetpBgpzVMGqb5CT8pnnFGOC8gCXsDm\n lCkR4ufM7szzNUl3TF1uFSxldL+55qE1AAJqNo1JHDfhzC+T2FJ2tala5Dc3ZCht/ftS\n 4TkUaW3ynNDhY4yk3EC7phrQIX3gpBI4Wh5tY=", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id;\n bh=BPNMco1N07iGa15TKIxpYBFF+pv09wCR6HrWkzZMFIs=;\n b=W3PqTF2MLcX0La0Da6MBNzLubXvhPGqvWJ3rn0gByqLBJfu+14MoVsiDfwCbDbn9bO\n yZ/c7+DDQpiiE8r1cNdjZHyJ+QNxFVseEQlw3qsQGJsvKxmoWZ7bTzKVFKc4L09GaIHZ\n S3rOHY1mhD3I5aYtS4gywTjDrCV1KvyfELgyOiqcm+IDjo8cLOgBjDueSla1i4VNoAQE\n Eyxl8lgxRomuBXS8TFi+qTSjnpJPkcXjO6T+OqPPleee6wvOAOTl+HtKRmgjjTtBizdw\n vj0DpUDOju4U7ffRondNRGpxDu5O7M9kIqOOvx7TLGgD/isB9ilXdeOvLbS5WsYvtLFf\n sYKA==", "X-Gm-Message-State": "APjAAAVxBTUyuvLm++bpBvmPjCRZXtv6yvgX2UxZrGCwNUZXMi6NIse9\n 1/hZSdn8fTJ3wkQPZ3j5QwqhAqSnxH8JCQ==", "X-Google-Smtp-Source": "\n APXvYqyltVKaaaQOMgfQfPEerqAzJUuH3Hm5ZrEfhbwMcmwK+DTOpOVfczGCuLMsv2drq1FVMJTh4g==", "X-Received": "by 2002:aa7:9a8b:: with SMTP id w11mr29271745pfi.38.1582139287896;\n Wed, 19 Feb 2020 11:08:07 -0800 (PST)", "From": "Ruslan Babayev <ruslan@babayev.com>", "To": "dev@dpdk.org", "Cc": "Ruslan Babayev <ruslan@babayev.com>", "Date": "Wed, 19 Feb 2020 11:08:02 -0800", "Message-Id": "<20200219190802.35758-1-ruslan@babayev.com>", "X-Mailer": "git-send-email 2.17.1", "X-Mailman-Approved-At": "Wed, 19 Feb 2020 22:31:27 +0100", "Subject": "[dpdk-dev] [PATCH 1/2] build: add combined libs", "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 <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": "Add combined libdpdk.a and libdpdk.so libs for Meson similar to how\nit's done for Make builds\n\nSigned-off-by: Ruslan Babayev <ruslan@babayev.com>\n---\n buildtools/group-libs.sh | 2 ++\n buildtools/meson.build | 1 +\n meson.build | 17 +++++++++++++++++\n 3 files changed, 20 insertions(+)\n create mode 100755 buildtools/group-libs.sh", "diff": "diff --git a/buildtools/group-libs.sh b/buildtools/group-libs.sh\nnew file mode 100755\nindex 000000000..b6e4c1c35\n--- /dev/null\n+++ b/buildtools/group-libs.sh\n@@ -0,0 +1,2 @@\n+#!/bin/sh\n+echo 'GROUP (' $(echo $* | xargs -n1 basename | sort | xargs) ')'\ndiff --git a/buildtools/meson.build b/buildtools/meson.build\nindex 9812917e5..eac8bc4ff 100644\n--- a/buildtools/meson.build\n+++ b/buildtools/meson.build\n@@ -6,6 +6,7 @@ subdir('pmdinfogen')\n pkgconf = find_program('pkg-config', 'pkgconf', required: false)\n pmdinfo = find_program('gen-pmdinfo-cfile.sh')\n list_dir_globs = find_program('list-dir-globs.py')\n+group_libs = find_program('group-libs.sh')\n check_experimental_syms = find_program('check-experimental-syms.sh')\n ldflags_ibverbs_static = find_program('options-ibverbs-static.sh')\n \ndiff --git a/meson.build b/meson.build\nindex b7ae9c8d9..eb6974d35 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -61,6 +61,23 @@ configure_file(output: build_cfg,\n \t\tinstall_dir: join_paths(get_option('includedir'),\n \t\t\t\tget_option('include_subdir_arch')))\n \n+\n+custom_target('group_shared_libs',\n+\t\tinput: dpdk_libraries,\n+\t\toutput: 'libdpdk.so',\n+\t\tcapture: true,\n+\t\tinstall: true,\n+\t\tinstall_dir: get_option('libdir'),\n+\t\tcommand: [group_libs, '@INPUT@'])\n+\n+custom_target('group_static_libs',\n+\t\tinput: dpdk_static_libraries + dpdk_drivers,\n+\t\toutput: 'libdpdk.a',\n+\t\tcapture: true,\n+\t\tinstall: true,\n+\t\tinstall_dir: get_option('libdir'),\n+\t\tcommand: [group_libs, '@INPUT@'])\n+\n # for static builds, include the drivers as libs and we need to \"whole-archive\"\n # them.\n dpdk_drivers = ['-Wl,--whole-archive'] + dpdk_drivers + ['-Wl,--no-whole-archive']\n", "prefixes": [ "1/2" ] }{ "id": 65931, "url": "