[dpdk-dev] [PATCH] devtools: select targets in build test
thomas at monjalon.net
Thu Feb 4 14:59:42 CET 2021
04/02/2021 14:34, David Marchand:
> When a target compilation is broken, one way to skip the target is to
> uninstall the associated toolchain.
> But it is not always possible and you end up with hacking the script to
> avoid this target until a fix is ready.
> It is also often quicker to check a fix on a failing target before
> checking compilation on all targets.
> Introduce a variable to select targets.
> $ DPDK_BUILD_TEST_TARGETS=build-x86-mingw \
With this solution, you need to list all targets you want to compile.
An alternative could be to disable a target in the config file
based on the variable DPDK_TARGET set by load_env.
One hack, which does not need any change in the script I think,
is to set targetcc=disabled.
Or we could check a well defined variable after calling load-devel-config.
> +target_is_selected build-x86-default || exit 0
Why this line?
More information about the dev