From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Script for compiling more quietly Date: Mon, 14 Dec 2020 17:56:12 +0200 Message-ID: <838sa0crfn.fsf@gnu.org> References: <87czzg8b8v.fsf@gnus.org> <87y2i0310m.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13590"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ghe@sdf.org, larsi@gnus.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 14 16:57:16 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1koqDr-0003R0-Oq for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Dec 2020 16:57:15 +0100 Original-Received: from localhost ([::1]:37434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koqDq-0007Bn-Q5 for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Dec 2020 10:57:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koqD2-0006aS-9B for emacs-devel@gnu.org; Mon, 14 Dec 2020 10:56:25 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54385) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koqD1-0001BL-WD; Mon, 14 Dec 2020 10:56:24 -0500 Original-Received: from [176.228.60.248] (port=3192 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1koqCz-00029g-Se; Mon, 14 Dec 2020 10:56:23 -0500 In-Reply-To: (message from Stefan Monnier on Mon, 14 Dec 2020 10:23:15 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:260816 Archived-At: > From: Stefan Monnier > Date: Mon, 14 Dec 2020 10:23:15 -0500 > Cc: Gregory Heytings , Lars Ingebrigtsen > > > C=$(grep '^cpu cores' /proc/cpuinfo | cut -d: -f2 | head -1) > > sed -ne '/^cpu cores/{s/.*: *//;p;q}' /proc/cpuinfo FWIW, 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.