From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: Script for compiling more quietly Date: Mon, 14 Dec 2020 10:32:36 +0000 Message-ID: References: <87czzg8b8v.fsf@gnus.org> Reply-To: Gregory Heytings Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="-212064758-1234956399-1607941861=:17897" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6028"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Alpine 2.22 (NEB 394 2020-01-19) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 14 11:34:14 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 1kolBG-0001LM-8s for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Dec 2020 11:34:14 +0100 Original-Received: from localhost ([::1]:54526 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kolBF-0004Q2-9M for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Dec 2020 05:34:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kol9q-0002r9-OO for emacs-devel@gnu.org; Mon, 14 Dec 2020 05:32:48 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:57260) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kol9n-0002DP-G1 for emacs-devel@gnu.org; Mon, 14 Dec 2020 05:32:46 -0500 Original-Received: from sdf.org (IDENT:ghe@faeroes.freeshell.org [205.166.94.9]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 0BEAWdr7017800 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Mon, 14 Dec 2020 10:32:39 GMT Original-Received: (from ghe@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 0BEAWcAp010851; Mon, 14 Dec 2020 10:32:38 GMT In-Reply-To: <87czzg8b8v.fsf@gnus.org> Content-ID: Received-SPF: pass client-ip=205.166.94.24; envelope-from=ghe@sdf.org; helo=mx.sdf.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:260795 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---212064758-1234956399-1607941861=:17897 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-ID: Hi Lars, > > For some time now, I've been using the simple shell script below to do > non-development Emacs compilation. That is, when I say "git pull" I > always say "emake" afterwards, and I also run it when I apply patches > from people and stuff. It basically suppresses all the informational > messages from the build process, leaving me with just the bear > necessities, so that you can forget about your worries and your strife, > I mean, the wall of text. > Thanks for your script, which is indeed handy. I attach a slighly improved version, which also "cleans" the autogen and configure steps, and which displays error/warning messages in bold red. I also replaced your "nproc" by "expr $(nproc) / 2 + 1", IME using nproc makes the computer unuseable, and is not much faster than nproc/2+1. ---212064758-1234956399-1607941861=:17897 Content-Type: text/plain; charset=US-ASCII; name=emake Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=emake IyEvYmluL2Jhc2gNCg0KbWFrZSAtamBleHByICQobnByb2MpIC8gMiArIDFg ICIkQCIgMj4mMSB8IFwNCnNlZCAtdSAncyMgXC5cLi9cLlwuLyMgIw0KcyMg XC5cLi8jICMNCnMjXlJ1bm5pbmcgIyBSdW5uaW5nICMNCnMjXkNvbmZpZ3Vy ZWQgZm9yICMgQ29uZmlndXJlZCBmb3IgIw0KcyNeLi90ZW1hY3MgIyAuL3Rl bWFjcyAjDQpzI15EdW1waW5nIHVuZGVyIHRoZSBuYW1lIyBEdW1waW5nIHVu ZGVyIHRoZSBuYW1lIw0KJyB8IFwNCmVncmVwIC0tbGluZS1idWZmZXJlZCAt diAiXm1ha2V8XA0KXkxvYWRpbmd8XA0KU0NSQVBFfFwNCklORk8uKlNjcmFw aW5nLipbLl1cJHxcDQpeV2FpdGluZyBmb3IgZ2l0fFwNCl5GaW5kaW5nIHBv aW50ZXJzfFwNCl5Vc2luZyBsb2FkLXBhdGh8XA0KXkFkZGluZyBuYW1lfFwN Cl5EdW1wIG1vZGV8XA0KXkR1bXBpbmcgZmluZ2VyfFwNCl5CeXRlIGNvdW50 c3xcDQpeUmVsb2MgY291bnRzfFwNCl5QdXJlLWhhc2hlZHxcDQpeY3AgLWYg dGVtYWNzfFwNCl5ybSAtZiBib290c3RyYXB8XA0KXkR1bXAgY29tcGxldGV8 XA0KXnJtIC1mIGVtYWNzfFwNCm1rZGlyIC1wIGV0Y3xcDQpta2RpciAtcCBp bmZvfFwNCm1rZGlyIC1wIGxpc3B8XA0KXkxDX0FMTC4qcGR1bXB8XA0KXmNw IC1mIGVtYWNzLnB8XA0KR0VOLipsb2FkZGVmc3xcDQpeUmVsb2FkaW5nIHN0 YWxlfFwNCl5Tb3VyY2UgZmlsZS4qbmV3ZXIgdGhhbnxcDQpeRGlyZWN0b3Jp ZXMgZm9yIGxvYWRkZWZzfF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