From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CE2BFA0531; Mon, 27 Jan 2020 16:44:17 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 028911BF98; Mon, 27 Jan 2020 16:44:17 +0100 (CET) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by dpdk.org (Postfix) with ESMTP id 16C931BF87 for ; Mon, 27 Jan 2020 16:44:16 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 2B53A4B4; Mon, 27 Jan 2020 10:44:14 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 27 Jan 2020 10:44:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=mesmtp; bh=n1uzv9e47c 7GztSf2bQwhotENUSBjDG/cJOtaR9h5m0=; b=C7DtcDaJ2dq51UbhWmxpxDDFiD rksFnIBV5G9PglZGMcvh7NMo+CLY02VDXOHAaSuwQ2ILchcXyJqsEEkI3RBKsweI gUNU71mfBZYWBKk43NkZ50rdmAPLpt2/br0T9C3Zb9b8Yxq0g3ayfgHmOK40SPp9 LbHWWJu4F6mN7dj4U= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=n1uzv9e47c7GztSf2bQwhotENUSBjDG/cJOtaR9h5m0=; b=mAymu83v NMTsus9KeHmNpto5ybwgm3w5Ayf9TnZW/WgNb2BKu4W0YOaReRRJuI4X3sP7IpnE aaX91NeUrxQ76rqENsSUJEfXKVCrrULVDdkQjDXkkUlgL7bRcBGdSG2SP4vbAwrl iKDFR7Dz6pEhHENmnSvtOMcOLBQ8yU+ezvwWS22UIT15ucan6+V7dNpP5zH5bVJx nlRAwfbzniNbuKmwZCjmKoIuT4MoXbNgL4Z0oXJnqwn20NfFN8UOeNgoQI3zW4sV 6dinZI1FX9fmzKYtW9Y30ls0J07qm5kFdQom1ZN0dAPeS/+d5qoLmZ05QKEHAKGG J+kZhhB0Iu3L5w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrfedvgdejkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehm ohhnjhgrlhhonhdrnhgvtheqnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshes mhhonhhjrghlohhnrdhnvght 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 AD9CD3280059; Mon, 27 Jan 2020 10:44:12 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: bruce.richardson@intel.com Date: Mon, 27 Jan 2020 16:43:58 +0100 Message-Id: <20200127154402.4008069-1-thomas@monjalon.net> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200116071656.1663967-1-thomas@monjalon.net> References: <20200116071656.1663967-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/4] 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 round does the same with "meson". changes in v2: - split mlx patch for normal addition and workarounds - fix ldflags for ibverbs installed in a standard directory - fix libs order leading to undefined references - add doc for hidden_deps - improve explanations in commit logs Thomas Monjalon (4): net/mlx: add static ibverbs linkage with meson buildtools: get static mlx dependencies for meson build: allow hiding dependencies from pkg-config net/mlx: workaround static linkage with meson buildtools/meson.build | 2 ++ buildtools/options-ibverbs-static.sh | 10 ++++++++-- doc/guides/contributing/coding_style.rst | 6 ++++++ doc/guides/nics/mlx4.rst | 4 ++++ doc/guides/nics/mlx5.rst | 4 ++++ drivers/meson.build | 9 ++++++--- drivers/net/mlx4/meson.build | 19 +++++++++++++++---- drivers/net/mlx5/meson.build | 19 +++++++++++++++---- meson_options.txt | 4 ++-- 9 files changed, 62 insertions(+), 15 deletions(-) -- 2.24.1