[dpdk-dev] [RFC PATCH] ci: reduce examples built for static builds
Aaron Conole
aconole at redhat.com
Mon Mar 16 18:36:40 CET 2020
Bruce Richardson <bruce.richardson at intel.com> writes:
> Static builds can take a lot of space, so reduce the number of examples
> built when doing those static builds.
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
It looks good to me. I'll try a run with Ruifeng's no-huge series and
see if I can trigger errors on my side (and then see what happens with
the cache sizes, too). Might take some time as I adjust some things
here.
> .ci/linux-build.sh | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh
> index d500c4c00..2e0971dee 100755
> --- a/.ci/linux-build.sh
> +++ b/.ci/linux-build.sh
> @@ -42,9 +42,15 @@ if [ "$BUILD_32BIT" = "1" ]; then
> export PKG_CONFIG_LIBDIR="/usr/lib32/pkgconfig"
> fi
>
> +if [ "$DEF_LIB" = "static" ] ; then
> + OPTS="$OPTS -Dexamples=l2fwd,l3fwd"
> +else
> + OPTS="$OPTS -Dexamples=all"
> +fi
> +
> OPTS="$OPTS --default-library=$DEF_LIB"
> OPTS="$OPTS --buildtype=debugoptimized"
> -meson build --werror -Dexamples=all $OPTS
> +meson build --werror $OPTS
> ninja -C build
>
> if [ "$AARCH64" != "1" ]; then
More information about the dev
mailing list