Sujet : Re: make -j
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.linux.advocacyDate : 07. Nov 2024, 23:19:38
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vgjedq$2r5em$1@dont-email.me>
References : 1
User-Agent : Pan/0.160 (Toresk; )
On 7 Nov 2024 15:57:26 GMT, vallor wrote:
If you can't "make -j" on your system, your system needs "tuning" --
potentially, by adding RAM.
“make -j” by design spawns as many processes as it can, so with a big
enough project to build, it is always going to bring your system to its
knees!
Better: use something like “make -j$(nproc)” to create only as many
processes as your hardware can run concurrently. I’m told you could even
add 1 to this.