From: Bruce Richardson Subject: Re: Projects depending on make (versus meson) Date: Tue, 8 Jan 2019 10:55:36 +0000 Message-ID: <20190108105535.GA17732@bricha3-MOBL.ger.corp.intel.com> References: <20190107102118.037f141a@hermes.lan> <3581820.WYqOYd8h7C@xps> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Stephen Hemminger , dev@dpdk.org To: Thomas Monjalon Return-path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id B82FF1B3A5 for ; Tue, 8 Jan 2019 11:55:43 +0100 (CET) Content-Disposition: inline In-Reply-To: <3581820.WYqOYd8h7C@xps> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Jan 08, 2019 at 11:44:03AM +0100, Thomas Monjalon wrote: > 07/01/2019 19:21, Stephen Hemminger: > > I recently bumped into NFF-go which probably will have problems with meson build. > > It puts dpdk and pktgen-dpdk in as git submodules and then builds it all together > > with Go environment. > > You mean they must switch to meson and use DPDK discovery with pkg-config? > Do you see any blocker? > > > The current model is a nuisance because can't get Mellanox drivers for Azure by > > default. > > In the make build system, some libraries (like Mellanox drivers) must be > explicitly enabled by modifying the .config file before running make. > There should be a hook in the app build system to allow some tuning. One thing I've been considering for our meson build system, is possibly adding in a config option to explicitly request specific drivers to be built and error out if they cannot be. Right now, it's all based on what is available - there is no way to tell meson to error out the config if the dependencies for the Mellanox drivers, or the QAT crypto drivers are missing. Thoughts (and patches :-)) welcome. /Bruce