[dpdk-dev] [PATCH v2] build: fix drivers config with no python interpreter
Thomas Monjalon
thomas at monjalon.net
Fri May 7 15:45:41 CEST 2021
07/05/2021 13:54, 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 at freebsd:~/dpdk $ meson setup build
> ...
> drivers:
> common/cpt: not in enabled drivers build config
> common/dpaax: not in enabled drivers build config
> common/iavf: not in enabled drivers build config
> common/mvep: not in enabled drivers build config
> common/octeontx: not in enabled drivers build config
> common/octeontx2: not in enabled drivers build config
> bus/dpaa: not in enabled drivers build config
> bus/fslmc: not in enabled drivers build config
> ...
>
> dpdk at freebsd:~/dpdk $ cd drivers/
> dpdk at freebsd:~/dpdk/drivers $ ~/dpdk/buildtools/list-dir-globs.py */*
> env: python3: No such file or directory
>
> Rely on meson internal interpreter.
> Check return code when calling this script.
>
> Fixes: ab9407c3addd ("build: allow using wildcards to disable drivers")
> Fixes: 2e33309ebe03 ("config: enable/disable drivers in Arm builds")
+Cc: stable
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
Applied, thanks
More information about the dev
mailing list