[dpdk-dev] [RFC PATCH] build for DPDK with meson and ninja

Bruce Richardson bruce.richardson at intel.com
Thu Jun 8 10:43:38 CEST 2017


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 <bruce.richardson at intel.com>
> > To: dev at dpdk.org
> > CC: Bruce Richardson <bruce.richardson at intel.com>
> > 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


More information about the dev mailing list