Bug 280187 - `make installworld' should display the install time
Summary: `make installworld' should display the install time
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 15.0-CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: Wolfram Schneider
URL: https://reviews.freebsd.org/D45912
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-08 09:28 UTC by Wolfram Schneider
Modified: 2024-09-30 05:38 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(-)