From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anand Rawat Subject: Re: [PATCH v8 10/10] build: meson changes to build on windows Date: Tue, 2 Apr 2019 16:01:47 -0700 Message-ID: <5ae45b30-ff5e-792c-794d-c64e415dbb15@intel.com> References: <20190306041634.12976-1-anand.rawat@intel.com> <20190402035458.14664-1-anand.rawat@intel.com> <20190402035458.14664-11-anand.rawat@intel.com> <8636883.cOhKqkjfg7@xps> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed 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: Thomas Monjalon Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 7E9E75F11 for ; Wed, 3 Apr 2019 01:01:48 +0200 (CEST) In-Reply-To: <8636883.cOhKqkjfg7@xps> Content-Language: en-US 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 4/2/2019 3:51 PM, Thomas Monjalon wrote: > 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. > > That is correct, deps = ['eal', 'mempool', 'net', 'mbuf', 'ethdev', 'cmdline'] should have not been removed from this file. Please add the line back. -- Anand Rawat