|
From: | Daniele Buono |
Subject: | Re: [PATCH 1/2] gitlab-ci.yml: Allow custom make parallelism |
Date: | Wed, 24 Feb 2021 13:02:21 -0500 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 |
On 2/24/2021 2:44 AM, Paolo Bonzini wrote:
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.
I like this, I'll send a v2 soon where I replace this patch with one just for linking. Daniele
[Prev in Thread] | Current Thread | [Next in Thread] |