unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Script for compiling more quietly
@ 2020-12-11 18:10 Lars Ingebrigtsen
  2020-12-14 10:32 ` Gregory Heytings via Emacs development discussions.
  0 siblings, 1 reply; 21+ messages in thread
From: Lars Ingebrigtsen @ 2020-12-11 18:10 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 949 bytes --]

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.

I find it handy, because it really makes things obvious when warnings do
happen -- I don't have to actually pay attention.

(It can obviously not be used when actually developing, because it makes
it impossible to jump to errors from the *Compilation* buffer.)

I wonder whether anybody would find this useful, and if so, whether it
would make sense to stash it in, say, admin/make-silent or something.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

[-- Attachment #2: emake --]
[-- Type: application/octet-stream, Size: 466 bytes --]

#!/bin/bash

make -j`nproc` "$@" 2>&1 | \
    egrep -v "^make|\
^Loading|\
SCRAPE|\
INFO.*Scraping.*[.]\$|\
^Waiting for git|\
^Finding pointers|\
^Using load-path|\
^Adding name|\
^Dump mode|\
^Dumping finger|\
^Byte counts|\
^Reloc counts|\
^Pure-hashed|\
^cp -f temacs|\
^rm -f bootstrap|\
^Dump complete|\
^rm -f emacs|\
mkdir -p ../etc|\
^LC_ALL.*pdump|\
^cp -f emacs.p|\
GEN.*loaddefs|\
^Reloading stale|\
^Source file.*newer than|\
^Directories for loaddefs"

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2020-12-14 23:36 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-11 18:10 Script for compiling more quietly Lars Ingebrigtsen
2020-12-14 10:32 ` Gregory Heytings via Emacs development discussions.
2020-12-14 10:52   ` Gregory Heytings via Emacs development discussions.
2020-12-14 14:35   ` Lars Ingebrigtsen
2020-12-14 15:08     ` Lars Ingebrigtsen
2020-12-14 14:39   ` Lars Ingebrigtsen
2020-12-14 15:09     ` Gregory Heytings via Emacs development discussions.
2020-12-14 15:23       ` Stefan Monnier
2020-12-14 15:28         ` Gregory Heytings via Emacs development discussions.
2020-12-14 15:56         ` Eli Zaretskii
2020-12-14 16:07           ` Gregory Heytings via Emacs development discussions.
2020-12-14 16:49             ` Eli Zaretskii
2020-12-14 16:53               ` Lars Ingebrigtsen
2020-12-14 17:24                 ` Andrea Corallo via Emacs development discussions.
2020-12-14 17:55                   ` Eli Zaretskii
2020-12-14 17:41                 ` Gregory Heytings via Emacs development discussions.
2020-12-14 18:56                   ` Lars Ingebrigtsen
2020-12-14 17:49                 ` Eli Zaretskii
2020-12-14 23:36                   ` Stefan Monnier
2020-12-14 15:00   ` Stefan Monnier
2020-12-14 15:14     ` Gregory Heytings via Emacs development discussions.

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).