[libvirt PATCH 2/2] gitlab: Define $MAKEFLAGS in environment
Daniel P. Berrangé
berrange at redhat.com
Fri Mar 27 17:56:01 UTC 2020
On Fri, Mar 27, 2020 at 06:15:59PM +0100, Andrea Bolognani wrote:
> This way we don't need to call getconf over and over, and the actual
> build steps don't end up drowned in the noise.
>
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
> .gitlab-ci.yml | 15 ++++++++-------
> 1 file changed, 8 insertions(+), 7 deletions(-)
>
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index eeeff7ed48..a5c5dfc52f 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -8,6 +8,7 @@ stages:
>
> .environment: &environment |
> export MAKE="make"
> + export MAKEFLAGS="-j$(getconf _NPROCESSORS_ONLN)"
Assuming .environment is renamed to .script_variables or similar
Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the libvir-list
mailing list