qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] gitlab-ci.yml: Allow custom make parallelism


From: Paolo Bonzini
Subject: Re: [PATCH 1/2] gitlab-ci.yml: Allow custom make parallelism
Date: Wed, 24 Feb 2021 08:44:48 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0

On 23/02/21 20:34, Daniele Buono wrote:
This works, but setting this value to 1 for everybody seems a bit too
restrictive. While the gitlab ci runners don't have enough memory for
this, that's not necessarily true for every build platform, and linking
multiple targets in parallel with LTO can result in a big save in time,
so I'd prefer a customizable way.

How about adding a flag `--max-ld-procs` to configure to manually set
backend_max_links?

Another possibility is to invoke "meson configure build -Dbackend_max_links=1" after configure.

Paolo

This would also allow setting it up to any specific number above 1,
which looking at the Makefile seems to not be possible now: because of
how the -j flag is passed from make to ninja, a compilation is either
sequential or parallel based on #cpus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]