FreeBSD Bugzilla – Attachment 188976 Details for
Bug 224433
`make buildkernel' should display the build time in seconds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch for buildworld
buildworld.patch (text/plain), 1.10 KB, created by
Wolfram Schneider
on 2017-12-19 17:22:22 UTC
(
hide
)
Description:
patch for buildworld
Filename:
MIME Type:
Creator:
Wolfram Schneider
Created:
2017-12-19 17:22:22 UTC
Size:
1.10 KB
patch
obsolete
>diff --git a/Makefile.inc1 b/Makefile.inc1 >index 73afbbfcbbc..6fba21f593b 100644 >--- a/Makefile.inc1 >+++ b/Makefile.inc1 >@@ -965,16 +965,21 @@ WMAKE_TGTS+= build${libcompat} > buildworld: buildworld_prologue ${WMAKE_TGTS} buildworld_epilogue .PHONY > .ORDER: buildworld_prologue ${WMAKE_TGTS} buildworld_epilogue > >+_BUILDWORLD_START= .buildworld_start > buildworld_prologue: .PHONY > @echo "--------------------------------------------------------------" > @echo ">>> World build started on `LC_ALL=C date`" > @echo "--------------------------------------------------------------" >+ @date '+%s' > ${_BUILDWORLD_START} > > buildworld_epilogue: .PHONY > @echo > @echo "--------------------------------------------------------------" > @echo ">>> World build completed on `LC_ALL=C date`" > @echo "--------------------------------------------------------------" >+ @seconds=$$(($$(date '+%s') - $$(cat ${_BUILDWORLD_START}))); \ >+ echo -n ">>> World build in $$seconds seconds, "; \ >+ echo "ncpu: $$(sysctl -n hw.ncpu)${.MAKE.JOBS:S/^/, make -j/}" > > # > # We need to have this as a target because the indirection between Makefile
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 224433
:
188938
|
188975
|
188976