Bug 280187

Summary: `make installworld' should display the install time
Product: Base System Reporter: Wolfram Schneider <wosch>
Component: binAssignee: Wolfram Schneider <wosch>
Status: Closed FIXED    
Severity: Affects Some People CC: bapt, emaste, imp, theraven
Priority: ---    
Version: 15.0-CURRENT   
Hardware: Any   
OS: Any   
URL: https://reviews.freebsd.org/D45912

Description Wolfram Schneider freebsd_committer freebsd_triage 2024-07-08 09:28:20 UTC
For years we display the time in seconds how long it takes to run `make buildworld' (see PR 224433).
We should do the same for "installworld" and "installkernel"

e.g.:
--------------------------------------------------------------
>>> Installing everything completed on Sun Jul  7 16:11:37 UTC 2024
>>> Install world completed in 110 seconds, ncpu: 2, make -j2
--------------------------------------------------------------
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-07-13 10:40:03 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=e5a0202f96948a95bf1b879727e155a4f1d1da93

commit e5a0202f96948a95bf1b879727e155a4f1d1da93
Author:     Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2024-07-13 10:37:14 +0000
Commit:     Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2024-07-13 10:37:14 +0000

    Makefile.inc1: show time for  `make installworld'

    For years we display the time in seconds how long it takes to
    run `make buildworld' (see PR 224433). Now we will display the
    time for "installworld" and "installkernel" as well.

    e.g.:
    --------------------------------------------------------------
    >>> Installing everything completed on Sun Jul  7 16:11:37 UTC 2024
    >>> Install world completed in 110 seconds, ncpu: 2, make -j2
    --------------------------------------------------------------

    PR: 280187
    Approved by: imp
    Differential Revision: https://reviews.freebsd.org/D45912

 Makefile.inc1 | 22 +++++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)
Comment 2 Wolfram Schneider freebsd_committer freebsd_triage 2024-08-19 19:21:34 UTC
There is an updated patch https://reviews.freebsd.org/D45912
with more specific make targets which should solve the problem with 

make -C/usr/src packages
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-09-02 09:57:05 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=9867b4af50c627586c68b26ddc5a7344286eefaf

commit 9867b4af50c627586c68b26ddc5a7344286eefaf
Author:     Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2024-09-02 09:55:10 +0000
Commit:     Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2024-09-02 09:55:10 +0000

    Makefile.inc1: show time for `make installworld'

    For years we display the time in seconds how long it takes to
    run `make buildworld' (see PR 224433). Now we will display the
    time for "installworld" and "installkernel" as well.

    e.g.:
    --------------------------------------------------------------
    >>> Installing everything completed on Sun Jul  7 16:11:37 UTC 2024
    >>> Install world completed in 110 seconds, ncpu: 2, make -j2
    --------------------------------------------------------------

    This is an improved version of commit e5a0202f96948a95bf1b879727e155a4f1d1da93

    PR: 280187
    Differential Revision: https://reviews.freebsd.org/D45912

 Makefile.inc1 | 22 +++++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)