Opened 3 years ago

Last modified 3 years ago

#21589 new enhancement

Allow users to make `make V=0` the default by using `./configure --enable-silent-rules`

Reported by: mkoeppe Owned by:
Priority: major Milestone: sage-7.4
Component: build Keywords:
Cc: embray, jdemeyer, vbraun Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: #21479, #21539 Stopgaps:

Description

As a follow-up to #21539, let's have ./configure --enable-silent-rules make make V=0 the default. (See Automake silent rules)

I'm marking this as dependent on #21479 because that ticket introduces the config.status-generated file sage-env-config, which we'll need.

Change History (7)

comment:1 Changed 3 years ago by mkoeppe

  • Dependencies changed from #21479 to #21479, #21539

comment:2 Changed 3 years ago by jhpalmieri

I'm not convinced this is a good idea. On some computers, it will build gcc for 45 minutes, and having no output printed to the screen for that long may look indistinguishable from the computer hanging.

comment:3 Changed 3 years ago by mkoeppe

To clarify, the default is the current verbose output. With #21539, users type "make V=0" if they are tired of seeing the output. With this ticket, users type "./configure --enable-silent-rules" once if they are tired of typing "V=0".

comment:4 Changed 3 years ago by mkoeppe

  • Summary changed from Make `make V=0` the default by `./configure --enable-silent-rules` to Allow users to make `make V=0` the default by using `./configure --enable-silent-rules`

comment:5 Changed 3 years ago by jhpalmieri

Okay, I misunderstood.

comment:6 Changed 3 years ago by jhpalmieri

In that case, would it also be possible for ./configure --enable-silent-rules to create a Makefile which is more silent than the one at #21539, and in particular which silences the lines sage-logger -p 'sage-spkg PACKAGE' 'LOGFILE'?

comment:7 Changed 3 years ago by mkoeppe

The Makefile rules are already flexible enough for that in #21539, using $(AM_V_at) instead of @ (borrowed from automake).

The present ticket would just set some defaults of Makefile variables. The rules won't have to change.

Note: See TracTickets for help on using tickets.