Re: [dpdk-dev] [PATCH] build: fix drivers config with no python interpreter

2021-05-07 Thread David Marchand
On Fri, May 7, 2021 at 11:22 AM David Marchand wrote: > diff --git a/lib/meson.build b/lib/meson.build > index 77f363a516..56f2465ee2 100644 > --- a/lib/meson.build > +++ b/lib/meson.build > @@ -88,7 +88,8 @@ optional_libs = [ > ] > > disabled_libs = [] > -opt_disabled_libs = run_command(list_di

Re: [dpdk-dev] [PATCH] build: fix drivers config with no python interpreter

2021-05-07 Thread Bruce Richardson
On Fri, May 07, 2021 at 11:21:57AM +0200, David Marchand wrote: > If no enable_drivers option is passed, the default is to build the > drivers list by calling list-dir-globs.py. > > But if no python interpreter is installed, no error is reported and all > drivers end up being disabled. > > Exampl

[dpdk-dev] [PATCH] build: fix drivers config with no python interpreter

2021-05-07 Thread David Marchand
If no enable_drivers option is passed, the default is to build the drivers list by calling list-dir-globs.py. But if no python interpreter is installed, no error is reported and all drivers end up being disabled. Example on a minimal FreeBSD vm: dpdk@freebsd:~/dpdk $ meson setup build ...