Web lists-archives.com

Re: [PATCH] ci: make sure we build Git parallel




SZEDER Gábor <szeder.dev@xxxxxxxxx> writes:

> Append to MAKEFLAGS when setting the compiler to use, to ensure that
> the number of parallel jobs to use is preserved.
>
> Signed-off-by: SZEDER Gábor <szeder.dev@xxxxxxxxx>
> ---
>  ci/lib.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/ci/lib.sh b/ci/lib.sh
> index 16f4ecbc67..cee51a4cc4 100755
> --- a/ci/lib.sh
> +++ b/ci/lib.sh
> @@ -185,4 +185,4 @@ GIT_TEST_GETTEXT_POISON)
>  	;;
>  esac
>  
> -export MAKEFLAGS="CC=${CC:-cc}"
> +export MAKEFLAGS="$MAKEFLAGS CC=${CC:-cc}"

Makes sense.  Thanks.