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 07CEDA04DD; Tue, 21 Jan 2020 11:14:10 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3F3C82BF5; Tue, 21 Jan 2020 11:14:09 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 18C33DE3 for ; Tue, 21 Jan 2020 11:14:06 +0100 (CET) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Jan 2020 02:13:41 -0800 X-IronPort-AV: E=Sophos;i="5.70,345,1574150400"; d="scan'208";a="219909580" Received: from bricha3-mobl.ger.corp.intel.com ([10.237.221.97]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 21 Jan 2020 02:13:39 -0800 Date: Tue, 21 Jan 2020 10:13:36 +0000 From: Bruce Richardson To: Thomas Monjalon Cc: dev@dpdk.org, robin.jarry@6wind.com Message-ID: <20200121101336.GA1747@bricha3-MOBL.ger.corp.intel.com> References: <20200120173725.57529-1-bruce.richardson@intel.com> <2317106.JBEolbzBkm@xps> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2317106.JBEolbzBkm@xps> User-Agent: Mutt/1.12.1 (2019-06-15) Subject: Re: [dpdk-dev] [PATCH] build: allow using wildcards to disable drivers 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" On Mon, Jan 20, 2020 at 07:59:13PM +0100, Thomas Monjalon wrote: > 20/01/2020 18:37, Bruce Richardson: > > Rather than having to explicitly list each and every driver to disable in a > > build, we can use a small python script and the python glob library to > > expand out the wildcards. This means that we can configure meson using e.g. > > > > meson -Ddisable_drivers=crypto/*,event/* build > > > > to do a build omitting all the crypto and event drivers. Explicitly > > specified drivers e.g. net/i40e, work as before, and can be mixed with > > wildcarded drivers as required. > > > > Signed-off-by: Bruce Richardson > > --- > > --- /dev/null > > +++ b/buildtools/list-dir-globs.sh > > @@ -0,0 +1,15 @@ > > +#! /usr/bin/env python > > Did you start implementing it as a shell script? > The extension is still .sh though I guess it might be .py. > Yes, good catch, thanks.