> From: fengchengwen [mailto:fengcheng...@huawei.com] > Sent: Friday, 6 September 2024 09.41 > > On 2024/9/5 15:29, David Marchand wrote: > > On Wed, Sep 4, 2024 at 5:17 PM Anatoly Burakov > > <anatoly.bura...@intel.com> wrote: > >> > >> Enter this script. It relies on Meson's introspection capabilities as well > >> as the dependency graphs generated by our build system to display all > >> available components, and handle any dependencies for them automatically, > >> while also not forcing user to remember any command-line options and lists > >> of drivers, and instead relying on interactive TUI to display list of > >> available options. It can also produce builds that are as minimal as > >> possible (including cutting down libraries being built) by utilizing the > >> fact that our dependency graphs report which dependency is mandatory and > >> which one is optional. > >> > >> Because it is not meant to replace native Meson build configuration but > >> is rather targeted at users who are not intimately familiar wtih DPDK's > >> build system, it is run in interactive mode by default. However, it is > >> also possible to run it without interaction, in which case it will pass > >> all its parameters to Meson directly, with added benefit of dependency > >> tracking and producing minimal builds if desired. > >> > >> Signed-off-by: Anatoly Burakov <anatoly.bura...@intel.com> > > > > There is no documentation.
+1 > > And it is a devtools script and not a usertools, iow, no point in > > installing this along a built dpdk. +1 > > > > I don't see a lot of value in such script. > > +1 > I just run this script, and it provide UI just like Linux kernel "make > menuconfig", > but I think DPDK is not complicated enough to have to use such menuconfig. > > > In my opinion, people who really want to tune their dpdk build should > > enter the details carefully and understand the implications. > > But other than that, I have no strong objection. I think this script is a good step on the roadmap towards making DPDK build time configuration more developer friendly. The idea of making DPDK 100 % runtime configurable and 0 % build time configurable has failed. DPDK should be buildable by distros with a lot of features and drivers enabled, and projects using it for special use cases should have the ability to build a purpose-specific variant. Just like the kernel.