[dpdk-users] meson: is there a mechanism for controlling compilation configuration
Richardson, Bruce
bruce.richardson at intel.com
Wed Jul 29 12:53:04 CEST 2020
> -----Original Message-----
> From: Chengchang Tang <tangchengchang at huawei.com>
> Sent: Wednesday, July 29, 2020 9:36 AM
> To: users at dpdk.org
> Cc: linuxarm at huawei.com; users at dpdk.org; Richardson, Bruce
> <bruce.richardson at intel.com>
> Subject: Re: [dpdk-users] meson: is there a mechanism for controlling
> compilation configuration
>
> cc'ed bruce
>
> On 2020/7/29 15:20, Chengchang Tang wrote:
> > Hi,
> > DPDK with 'make' will be deprecated in a future release. I have some
> > questions about using meson to build DPDK.
> >
> > When using the make, we can change the macros in config/common_base to
> > control the compiling macros. For example, if i want to debug the
> > mbuf, i can set CONFIG_RTE_LIBRTE_MBUF_DEBUG=y in config/common_base
> > to change the compiling macros.
> >
> > According to my understanding. DPDK meson build dose not generate
> > rte_config.h based on common_base content during compilation. Is there
> > any convenient way to modify the compiling macro in meson build. If
> > all the compilation macros need to be modified using environment
> > variable, it is inconvenient.
> >
The number of build options for make was too large, so the meson build options are deliberately kept small. However, for the case of the debug build options that were previously present, this is currently a gap that is under discussion on the DPDK dev mailing list. The discussion thread can be viewed in the archives, e.g. http://inbox.dpdk.org/dev/20200709134823.9176-1-l.wojciechow@partner.samsung.com/ .
Regards,
/Bruce
More information about the users
mailing list