From: Bruce Richardson Subject: Re: [RFC PATCH] build for DPDK with meson and ninja Date: Thu, 8 Jun 2017 09:43:38 +0100 Message-ID: <20170608084337.GA58216@bricha3-MOBL3.ger.corp.intel.com> References: <20170607104743.275149-1-bruce.richardson@intel.com> <20170607104743.275149-2-bruce.richardson@intel.com> <20170607181258.GA18222@jerin> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Jerin Jacob Return-path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 3B2072BB8 for ; Thu, 8 Jun 2017 10:43:42 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20170607181258.GA18222@jerin> 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 Wed, Jun 07, 2017 at 11:42:59PM +0530, Jerin Jacob wrote: > -----Original Message----- > > Date: Wed, 7 Jun 2017 11:47:43 +0100 > > From: Bruce Richardson > > To: dev@dpdk.org > > CC: Bruce Richardson > > Subject: [dpdk-dev] [RFC PATCH] build for DPDK with meson and ninja > > X-Mailer: git-send-email 2.9.4 > > > > to use, need to have meson >= 0.4 and ninja-build packages installed. > > > > Then do the following in main DPDK directory: > > > > meson build > > cd build > > ninja > > sudo ninja install > > Tested on Archlinux + ccache + gcc7. > > Impressive. Build is really quick. Especially in empty build case, where > existing build system takes a while to complete. Thanks for the RFC. Thanks for testing. That's what I saw too, and it's a really nice benefit. > > Faced an issue(The latest gcc 7 specific DPDK flags are not showing > up correctly) with ccache + gcc 7 environment with ninja. > Look like something is missing in configuration side. Highly likely. I didn't explicitly port over all our cflags that are being specified in the makefiles, just enough to get it to compile on my system. I didn't have enough time on this to cover as many things as I would like. /Bruce