From patchwork Thu Jan 16 07:16:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 64750 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D1362A04F9; Thu, 16 Jan 2020 08:17:08 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 92E681C024; Thu, 16 Jan 2020 08:17:08 +0100 (CET) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 5493C1C020 for ; Thu, 16 Jan 2020 08:17:07 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B1C8B220DB; Thu, 16 Jan 2020 02:17:05 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 16 Jan 2020 02:17:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:subject:date:message-id:mime-version :content-transfer-encoding; s=mesmtp; bh=ZnZ1irWYoCJsyymmp57L5Kw CcfCxdXob23y3tN5/a/o=; b=ilVaTQoPCaljFmbed4pVDCpbIno4dQWJud1pfZb ivOxAGXhZLPqlHbFC2d5xQfhM8q+WiVyjoeqKG1df3THwhj6QAb0loxdkbcIn/wZ yLCAWJWAxmCjv7DgnqjTe8M6fVXdXVhcXJIBbT1RVu9caneI/H3SzffiqRgH5L/S KKao= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ZnZ1irWYoCJsyymmp 57L5KwCcfCxdXob23y3tN5/a/o=; b=NvUwPHlB0Xlgf5Xfc3kGDebZmiAedP9iU ++OufZi7q+wiDu5ldhvEtM+3AU/6UrCd79K91kaBIYwX6Wt2RIK8cgclCCakc2wY CwstmPzQPzcZI28PTxUEeTuk3eBK4oE79gd8NbQhZmsWE1NEzE1fUFZjCDxBtP7l C1gKb0xEQg3MvNczO3cfl7+EyJRxEIPzlLsfs5drwX+ciBTvF/urYfm5ak1EXkQC TZCeze+LxV7GJn8UIcg19krW561XV9mh6lPrB6gpt6T6nhfcj1GGLbpDJcuJmPy9 AByGHk15JsVleAjMiSpcYyGg8cDbMqYdjD3YqRTAd+FIUfZWUp0Gw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrtdeggddutddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhho nhhjrghlohhnrdhnvghtqeenucfkphepjeejrddufeegrddvtdefrddukeegnecurfgrrh grmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehl uhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 21081306080E for ; Thu, 16 Jan 2020 02:17:05 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Date: Thu, 16 Jan 2020 08:16:53 +0100 Message-Id: <20200116071656.1663967-1-thomas@monjalon.net> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 0/3] add static ibverbs in meson X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This is the follow-up of the feature I added one year ago: static linkage of libibverbs in mlx PMDs. The first implementation was focused on "make". This second implementation works with "make" and "meson". Thomas Monjalon (3): buildtools: rework static pkg-config script build: allow to hide dependencies from pkg-config net/mlx: support static ibverbs linkage with meson buildtools/meson.build | 2 ++ buildtools/options-ibverbs-static.sh | 14 ------------- buildtools/pkg-config-static.sh | 31 ++++++++++++++++++++++++++++ doc/guides/nics/mlx4.rst | 4 ++++ doc/guides/nics/mlx5.rst | 4 ++++ drivers/meson.build | 9 +++++--- drivers/net/mlx4/Makefile | 2 +- drivers/net/mlx4/meson.build | 20 ++++++++++++++---- drivers/net/mlx5/Makefile | 2 +- drivers/net/mlx5/meson.build | 20 ++++++++++++++---- meson_options.txt | 4 ++-- mk/rte.app.mk | 3 ++- 12 files changed, 85 insertions(+), 30 deletions(-) delete mode 100755 buildtools/options-ibverbs-static.sh create mode 100755 buildtools/pkg-config-static.sh