[dpdk-dev] [PATCH 6/6] devtools: load target-specific compilation environment

Luca Boccassi bluca at debian.org
Tue Aug 13 11:41:26 CEST 2019


On Tue, 2019-08-13 at 01:03 +0200, Thomas Monjalon wrote:
> In order to re-use the same test environment as with
> test-build.sh, the configuration file is loaded at each build,
> after adjusting the variable DPDK_TARGET.
> 
> This is especially useful to set the variable PKG_CONFIG_PATH,
> or define some meson options (without -D) in DPDK_MESON_OPTIONS.
> 
> The DPDK_TARGET values can be
>         aarch64-*, powerpc64-*, x86_64-*.
> The matching DPDK_TARGET values for test-build.sh are
>         arm64-*, ppc_64-*, x86_64-*.
> The advised expressions to use in the common configuration file are:
>         if echo $DPDK_TARGET | grep -q '^a.*64-' ; then
>         elif echo $DPDK_TARGET | grep -q '^p.*pc.*64' ; then
>         elif echo $DPDK_TARGET | grep -q '^x86_64' ; then
>         fi
> 
> Signed-off-by: Thomas Monjalon <
> thomas at monjalon.net
> >
> ---
>  devtools/test-meson-builds.sh | 19 ++++++++++++++++++-
>  1 file changed, 18 insertions(+), 1 deletion(-)

Acked-by: Luca Boccassi <bluca at debian.org>

-- 
Kind regards,
Luca Boccassi


More information about the dev mailing list