Cover Detail
Show a cover letter.
GET /api/covers/69528/?format=api
http://patchwork.dpdk.org/api/covers/69528/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/cover/20200429100831.398-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": "<20200429100831.398-1-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200429100831.398-1-bruce.richardson@intel.com", "date": "2020-04-29T10:08:24", "name": "[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/20200429100831.398-1-bruce.richardson@intel.com/mbox/", "series": [ { "id": 9730, "url": "http://patchwork.dpdk.org/api/series/9730/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=9730", "date": "2020-04-29T10:08:24", "name": "improve DPDK static builds with meson", "version": 1, "mbox": "http://patchwork.dpdk.org/series/9730/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/covers/69528/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 50018A00BE;\n\tWed, 29 Apr 2020 12:13:42 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C79EC1D732;\n\tWed, 29 Apr 2020 12:13:41 +0200 (CEST)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by dpdk.org (Postfix) with ESMTP id 4D24A1D731\n for <dev@dpdk.org>; Wed, 29 Apr 2020 12:13:39 +0200 (CEST)", "from orsmga001.jf.intel.com ([10.7.209.18])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 29 Apr 2020 03:13:38 -0700", "from silpixa00399126.ir.intel.com ([10.237.222.218])\n by orsmga001.jf.intel.com with ESMTP; 29 Apr 2020 03:13:36 -0700" ], "IronPort-SDR": [ "\n WKnTXWJMguYV3yodNTBp0MyecDarWW+aapyiqC+3d+gImFNImAZsTXb7+wjsHsinL3Fc9GnDgs\n P9svvpFD/DcA==", "\n n8Dffe4RXk0+vuL9UqVYL7wloArkl1J1BtaROdaMkmJcitbpaM6G0oEya0f8Hr3sA5QBsmF9RL\n FyLnF0B+VwIQ==" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.73,331,1583222400\"; d=\"scan'208\";a=\"336915966\"", "From": "Bruce Richardson <bruce.richardson@intel.com>", "To": "dev@dpdk.org", "Cc": "thomas@monjalon.net, bluca@debian.org, david.marchand@redhat.com,\n ktraynor@redhat.com, Bruce Richardson <bruce.richardson@intel.com>", "Date": "Wed, 29 Apr 2020 11:08:24 +0100", "Message-Id": "<20200429100831.398-1-bruce.richardson@intel.com>", "X-Mailer": "git-send-email 2.20.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH 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\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 | 43 +++++++++++++++++++\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/librte_telemetry/meson.build | 1 -\n lib/meson.build | 2 +-\n meson.build | 26 +----------\n 53 files changed, 134 insertions(+), 76 deletions(-)\n create mode 100644 buildtools/pkg-config/meson.build\n create mode 100644 buildtools/pkg-config/set-static-linker-flags.py" }{ "id": 69528, "url": "