From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v7 8/8] build: meson changes to build on windows Date: Tue, 02 Apr 2019 01:25:51 +0200 Message-ID: <1874669.yI0RQQHDzX@xps> References: <20190306041634.12976-1-anand.rawat@intel.com> <20190328232451.16988-1-anand.rawat@intel.com> <20190328232451.16988-9-anand.rawat@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, pallavi.kadam@intel.com, ranjit.menon@intel.com, jeffrey.b.shaw@intel.com, bruce.richardson@intel.com, harini.ramakrishnan@microsoft.com To: Anand Rawat Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id A43C211A4 for ; Tue, 2 Apr 2019 01:25:55 +0200 (CEST) In-Reply-To: <20190328232451.16988-9-anand.rawat@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 29/03/2019 00:24, Anand Rawat: > Added meson workarounds to build helloworld on windows. > Windows currently only supports kvargs and eal libraries. > This change restricts the build flow to supported libraries > only. [...] > --- a/app/meson.build > +++ b/app/meson.build > @@ -1,5 +1,9 @@ > # SPDX-License-Identifier: BSD-3-Clause > -# Copyright(c) 2017 Intel Corporation > +# Copyright(c) 2017-2019 Intel Corporation > + > +if host_machine.system() == 'windows' > + subdir_done() > +endif Not sure this change deserves a copyright update :) > --- a/examples/meson.build > +++ b/examples/meson.build > - deps = ['eal', 'mempool', 'net', 'mbuf', 'ethdev', 'cmdline'] Please keep this line intact. > + if host_machine.system() != 'windows' > + deps = ['eal', 'mempool', 'net', 'mbuf', 'ethdev', 'cmdline'] > + else > + deps = ['eal'] # only supported lib on windows currently > + endif You could override deps for Windows only. Other workarounds look reasonnable. Thanks