|
From: | Gregory Heytings |
Subject: | Re: Script for compiling more quietly |
Date: | Mon, 14 Dec 2020 16:07:04 +0000 |
User-agent: | Alpine 2.22 (NEB 394 2020-01-19) |
C=$(grep '^cpu cores' /proc/cpuinfo | cut -d: -f2 | head -1)sed -ne '/^cpu cores/{s/.*: *//;p;q}' /proc/cpuinfoFWIW, I think you should leave the N part of "make -jN" to the end user. No one said they have nothing else to do at the same time as they build Emacs; they could be building some other large program at the same time, or need the CPU for something else.
It is, the number of cores is just a default value, that can be overridden by "emake -j1" for instance.
[Prev in Thread] | Current Thread | [Next in Thread] |