|
From: | Paolo Bonzini |
Subject: | Re: [PATCH 1/2] gitlab-ci.yml: Allow custom make parallelism |
Date: | Tue, 23 Feb 2021 09:12:37 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 |
On 23/02/21 00:01, Daniele Buono wrote:
Currently, make parallelism at build time is defined as #cpus+1. Some build jobs may need (or benefit from) a different number. An example is builds with LTO where, because of the huge demand of memory at link time, gitlab runners fails if two linkers are run concurrently This patch retains the default value of #cpus+1 but allows setting the "JOBS" variable to a different number when applying the template
As I just found out, you can add -Dbackend_max_links=1 to the meson command line instead if LTO is enabled.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |