Cover Detail
Show a cover letter.
GET /api/covers/72456/?format=api
http://patchwork.dpdk.org/api/covers/72456/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/cover/20200630141433.818517-1-bruce.richardson@intel.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": "<20200630141433.818517-1-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200630141433.818517-1-bruce.richardson@intel.com", "date": "2020-06-30T14:14:26", "name": "[v3,0/7] improve DPDK static builds with meson", "submitter": { "id": 20, "url": "http://patchwork.dpdk.org/api/people/20/?format=api", "name": "Bruce Richardson", "email": "bruce.richardson@intel.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/cover/20200630141433.818517-1-bruce.richardson@intel.com/mbox/", "series": [ { "id": 10690, "url": "http://patchwork.dpdk.org/api/series/10690/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=10690", "date": "2020-06-30T14:14:26", "name": "improve DPDK static builds with meson", "version": 3, "mbox": "http://patchwork.dpdk.org/series/10690/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/covers/72456/comments/", "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 BDAFAA0350;\n\tTue, 30 Jun 2020 16:14:50 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 93FEC1BF81;\n\tTue, 30 Jun 2020 16:14:50 +0200 (CEST)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by dpdk.org (Postfix) with ESMTP id 6FEB61B13C\n for <dev@dpdk.org>; Tue, 30 Jun 2020 16:14:48 +0200 (CEST)", "from fmsmga004.fm.intel.com ([10.253.24.48])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 30 Jun 2020 07:14:47 -0700", "from silpixa00399126.ir.intel.com ([10.237.222.84])\n by fmsmga004.fm.intel.com with ESMTP; 30 Jun 2020 07:14:45 -0700" ], "IronPort-SDR": [ "\n kvbpfz4ztFIhKLCKPCC1zv44p1WdK8qjMV6fpvHTMOdCu8tI9z3WAOlLHY1uOX0iZL0V4tMx8g\n L3oqb+HQ9hsQ==", "\n mCapclcy1iVJfswyPIvMWekkAme/yg/GRGipmrQu4VXOyaN9bNAWt7NV+mycnW1Jcvy9RnnytF\n rvf3X6uUWlHA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9666\"; a=\"145313554\"", "E=Sophos;i=\"5.75,297,1589266800\"; d=\"scan'208\";a=\"145313554\"", "E=Sophos;i=\"5.75,297,1589266800\"; d=\"scan'208\";a=\"303471384\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Bruce Richardson <bruce.richardson@intel.com>", "To": "dev@dpdk.org", "Cc": "thomas@monjalon.net, david.marchand@redhat.com, ktraynor@redhat.com,\n bluca@debian.org, sunil.pai.g@intel.com,\n Bruce Richardson <bruce.richardson@intel.com>", "Date": "Tue, 30 Jun 2020 15:14:26 +0100", "Message-Id": "<20200630141433.818517-1-bruce.richardson@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20200429100831.398-1-bruce.richardson@intel.com>", "References": "<20200429100831.398-1-bruce.richardson@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v3 0/7] improve DPDK static builds with 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 <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": "This set fixes a number of minor issues with static builds when using\nmeson, both for linking apps/examples as part of a meson build itself or\nwhen using pkg-config subsequently.\n\nFollowing this patchset, all DPDK static builds should be linking with\n--whole-archive to ensure all lib and driver constructors are included,\nand the use of pkg-config for doing static builds is simplified. The\ndownside is that for correctness we need two .pc files for DPDK rather\nthan just one.\n\nv3: rebased to latest on main branch\n\nv2: improved log messages for a number of patches, and clearly marked\n internal-only pkg-config file as such\n\nBruce Richardson (7):\n build: always link-whole DPDK static libraries\n build: remove unnecessary variable\n devtools/test-meson-builds.sh: add pkg-config static builds\n build: move pkg-config creation to separate file\n build/pkg-config: output driver libs first for static build\n build/pkg-config: improve static linking flags\n build/pkg-config: prevent overlinking\n\n app/meson.build | 2 +-\n app/test/meson.build | 2 +-\n buildtools/pkg-config/meson.build | 44 +++++++++++++++++++\n .../pkg-config/set-static-linker-flags.py | 38 ++++++++++++++++\n devtools/test-meson-builds.sh | 2 +-\n doc/guides/prog_guide/build-sdk-meson.rst | 2 +-\n drivers/meson.build | 2 +-\n examples/bbdev_app/Makefile | 2 +-\n examples/bond/Makefile | 2 +-\n examples/cmdline/Makefile | 2 +-\n examples/distributor/Makefile | 2 +-\n examples/eventdev_pipeline/Makefile | 2 +-\n examples/fips_validation/Makefile | 2 +-\n examples/flow_classify/Makefile | 2 +-\n examples/flow_filtering/Makefile | 2 +-\n examples/helloworld/Makefile | 2 +-\n examples/ioat/Makefile | 2 +-\n examples/ip_fragmentation/Makefile | 2 +-\n examples/ip_pipeline/Makefile | 2 +-\n examples/ip_reassembly/Makefile | 2 +-\n examples/ipsec-secgw/Makefile | 2 +-\n examples/ipv4_multicast/Makefile | 2 +-\n examples/kni/Makefile | 2 +-\n examples/l2fwd-cat/Makefile | 2 +-\n examples/l2fwd-crypto/Makefile | 2 +-\n examples/l2fwd-event/Makefile | 2 +-\n examples/l2fwd-jobstats/Makefile | 2 +-\n examples/l2fwd-keepalive/Makefile | 2 +-\n examples/l2fwd/Makefile | 2 +-\n examples/l3fwd-acl/Makefile | 2 +-\n examples/l3fwd-power/Makefile | 2 +-\n examples/l3fwd/Makefile | 2 +-\n examples/link_status_interrupt/Makefile | 2 +-\n examples/meson.build | 6 +--\n examples/ntb/Makefile | 2 +-\n examples/packet_ordering/Makefile | 2 +-\n examples/ptpclient/Makefile | 2 +-\n examples/qos_meter/Makefile | 2 +-\n examples/qos_sched/Makefile | 2 +-\n examples/rxtx_callbacks/Makefile | 2 +-\n examples/service_cores/Makefile | 2 +-\n examples/skeleton/Makefile | 2 +-\n examples/tep_termination/Makefile | 2 +-\n examples/timer/Makefile | 2 +-\n examples/vdpa/Makefile | 2 +-\n examples/vhost/Makefile | 2 +-\n examples/vhost_blk/Makefile | 2 +-\n examples/vhost_crypto/Makefile | 2 +-\n examples/vmdq/Makefile | 2 +-\n examples/vmdq_dcb/Makefile | 2 +-\n lib/meson.build | 2 +-\n meson.build | 26 +----------\n 52 files changed, 135 insertions(+), 75 deletions(-)\n create mode 100644 buildtools/pkg-config/meson.build\n create mode 100644 buildtools/pkg-config/set-static-linker-flags.py" }{ "id": 72456, "url": "