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 4E32AA04B3; Mon, 27 Jan 2020 13:12:07 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D61F31BFCD; Mon, 27 Jan 2020 13:12:05 +0100 (CET) Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by dpdk.org (Postfix) with ESMTP id 2367C1BFB4 for ; Mon, 27 Jan 2020 13:12:05 +0100 (CET) Received: by mail-wr1-f68.google.com with SMTP id y11so10974418wrt.6 for ; Mon, 27 Jan 2020 04:12:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:content-transfer-encoding:user-agent:mime-version; bh=u8kNSglPSwA9NLukjw3X+n7/xoBlf4Dm3vqZuz+vbCY=; b=trtQSN7c7wXY7KK6GjLvACaC9QVlDNhYPmB+YSgLVx0uqjB8m7wHrVbFH4PamA9wla ts9axq4W+YDEhVXx/zUIX8CmKczr5eVCI3r2gfrHSDBD9TBElpEbuQBqWNsi6T0UJcDA NYRncQzCq0roBPp1wE+Juw6qjMsSyP09Vw18fzQzL1BO9TDznpN+wOn091Lf/gJtaWC8 WTngxNZ2Beo+3bTw5PCPEqOYEoFmCkliy0IORsiyRBT2KGzJ/xUdwDLyn8mhvU/S8Ewm +D4LOee1ebH/GoFNCkGA8C70tFVwNkE2TXphTyLisTMR9sJ0GbJcUy/a0wDn33+zwUIb qrvw== X-Gm-Message-State: APjAAAVOVobEp8MoL1DMxsBgRofE5bRZdq0WXIbBta4ESPta5POsinkO /OYTo614A8q40y7VFr1BoHhaVWm/VLQ= X-Google-Smtp-Source: APXvYqyLMZXSmFZOClXNfIV6IPyCcZIJG2KPWtn7ulDXmyF2Dg/A1yTlhCQPiOo+OnJH/I/xx5HXOg== X-Received: by 2002:adf:ee82:: with SMTP id b2mr20558117wro.194.1580127124737; Mon, 27 Jan 2020 04:12:04 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id s22sm7012105wmh.4.2020.01.27.04.12.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2020 04:12:04 -0800 (PST) Message-ID: From: Luca Boccassi To: Bruce Richardson , dev@dpdk.org Date: Mon, 27 Jan 2020 12:12:03 +0000 In-Reply-To: <20200124151052.51433-1-bruce.richardson@intel.com> References: <20200120173725.57529-1-bruce.richardson@intel.com> <20200124151052.51433-1-bruce.richardson@intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4] 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 Fri, 2020-01-24 at 15:10 +0000, Bruce Richardson wrote: > 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. >=20 > meson -Ddisable_drivers=3Dcrypto/*,event/* build >=20 > 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. >=20 > Signed-off-by: Bruce Richardson < > bruce.richardson@intel.com > > > --- >=20 > V4: > - get pep8/pycodestyle compliance > - simplify getting the root directory >=20 > V3: > - added check for correct number of params > - replaced list comprehension with loops for simplicity > - allow running without meson environmental vars set (for easier > testing) >=20 > V2: > - fixed file suffix > - since it's being called from meson, make this python3 only > - remove use of chdir() > - use '\n' rather than ',' between entries Acked-by: Luca Boccassi --=20 Kind regards, Luca Boccassi