From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 28BF9A054D; Tue, 7 Jun 2022 18:05:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CD5EC4021D; Tue, 7 Jun 2022 18:05:44 +0200 (CEST) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mails.dpdk.org (Postfix) with ESMTP id 35ED140156 for ; Tue, 7 Jun 2022 18:05:42 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id C590E3200BB2; Tue, 7 Jun 2022 12:05:40 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 07 Jun 2022 12:05:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1654617940; x= 1654704340; bh=oRCqrulru12+mzl71C8krZGJtUwJ6ZDw5kAJs2jnLEA=; b=Z 3xbFyooilDdcN3FxaamFO9TMAfx4MvDQHxsLwTFjjhK5ultQcIxZ4KOLVi8DtEk4 KmCNKh/Ye+HpnP3zSpz/ne0nQdUpY9CvNQmAM5AZaTAKe2RdUSJ+WylYAPTReX9l R9mj5iknI2JzJIfEIHRaCgbuV0PjFlWtZ9HzL/1w6fs3l3oCQ3WNho5WjwE83EuZ cnqVzDNBPLZSgoWLKRMnJfWym203WDPkltEAA55wn7TRepTIJQzrUgmZeNUOpHFy vgIedqlU+0/KauJLnCdV3LAbflj2zbfMSulJNv6Qkuunurv6ZosB13gON0H+wT4X WiQrdkhz7+OBYA88mPOIw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1654617940; x= 1654704340; bh=oRCqrulru12+mzl71C8krZGJtUwJ6ZDw5kAJs2jnLEA=; b=r CCcsAZdVJdzsYS/L9seQ6mZLBID5df81DY5o8CyGXp4vXJeLo4lOyNbSfyWv6m0E nY8pqJzuSfVFN04gzFcM4N4hpWiLu6x7YfqKnMDx2Hbk7tQw03vnnEH1VdrvIzKm 9gayr6rfhazZx758tiECCDYz9DMhxFuqZ9yiUoAJ52lDkVkpBN3e+cGlQ6Q83uI9 D53NSLUcbnLYEdyfWoosBzTRjPhUhxB3bP4ugtzW+aDFXIMF3SjMP/qZnLLNWY9T qOo69R1pn8TRmavSSA2CdDkrC1M4S7LcjieFK3q0MHw5psKEiFXtjrfrtwNp5u+F Y/yc6HjkT6kaRLecinZ3A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddthedgleeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 7 Jun 2022 12:05:39 -0400 (EDT) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org, Stephen Hemminger , Ben Magistro Subject: Re: [PATCH v3] build: add definitions for use as meson subproject Date: Tue, 07 Jun 2022 18:05:35 +0200 Message-ID: <6107074.NgBsaNRSFp@thomas> In-Reply-To: References: <20211103221205.63175-1-stephen@networkplumber.org> <20220506144318.540584-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 21/05/2022 02:54, Ben Magistro: > Currently utilizing this in an upcoming set of changes for TLDK and all > seems to be working for fallback dependency support under both shared and > static linkage. > > Reviewed-by: Ben Magistro > Tested-by: Ben Magistro > > On Fri, May 6, 2022 at 10:43 AM Bruce Richardson > wrote: > > > To allow other projects to easily use DPDK as a subproject, add in the > > necessary dependency definitions. Slightly different definitions are > > necessary for static and shared builds, since for shared builds the > > drivers should not be linked in, and the internal meson dependency > > objects are more complete. > > > > To use DPDK as a subproject fallback i.e. use installed DPDK if present, > > otherwise the shipped one, the following meson statement can be used: > > > > libdpdk = dependency('libdpdk', fallback: ['dpdk', 'dpdk_dep']) > > > > Signed-off-by: Stephen Hemminger > > Signed-off-by: Bruce Richardson Applied, thanks.