From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v8 10/10] build: meson changes to build on windows Date: Wed, 03 Apr 2019 00:51:53 +0200 Message-ID: <8636883.cOhKqkjfg7@xps> References: <20190306041634.12976-1-anand.rawat@intel.com> <20190402035458.14664-1-anand.rawat@intel.com> <20190402035458.14664-11-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 To: Anand Rawat Return-path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id E149A5B20 for ; Wed, 3 Apr 2019 00:51:56 +0200 (CEST) In-Reply-To: <20190402035458.14664-11-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" 02/04/2019 05:54, 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. > > Signed-off-by: Anand Rawat > Signed-off-by: Pallavi Kadam > Reviewed-by: Jeff Shaw > Reviewed-by: Ranjit Menon > --- > --- a/examples/meson.build > +++ b/examples/meson.build > @@ -35,7 +35,9 @@ foreach example: examples > > ext_deps = [execinfo] > includes = [include_directories(example)] > - deps = ['eal', 'mempool', 'net', 'mbuf', 'ethdev', 'cmdline'] > + if host_machine.system() == 'windows' > + deps = ['eal'] # only supported lib on Windows currently > + endif > subdir(example) This is not what I call keeping build intact for Linux/BSD :) I did not catch it before because test-meson-builds.sh is not testing compilation of the examples with meson. Bruce, may we add it? I will add back the original deps line in master branch.