|
From: | Gregory Heytings |
Subject: | Re: Script for compiling more quietly |
Date: | Mon, 14 Dec 2020 17:41:05 +0000 |
User-agent: | Alpine 2.22 (NEB 394 2020-01-19) |
In which case I don't understand why it is important to be accurate with the actual number of cores. You could just use 4 as the default.The default should be sensible, and the sensible default is "all the cores". -j4 on a system with two cores would be slower than -j2.
BTW, I'm not sure the current formula is correct for a computer with multiple physical CPU's, each with multiple cores... but I don't have a computer with that configuration to check.
[Prev in Thread] | Current Thread | [Next in Thread] |