FreeBSD Bugzilla – Attachment 188975 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]
makefile patch
buildkernel.patch (text/plain), 1.06 KB, created by
Wolfram Schneider
on 2017-12-19 17:21:26 UTC
(
hide
)
Description:
makefile patch
Filename:
MIME Type:
Creator:
Wolfram Schneider
Created:
2017-12-19 17:21:26 UTC
Size:
1.06 KB
patch
obsolete
>diff --git a/Makefile.inc1 b/Makefile.inc1 >index 73afbbfcbbc..d6d092ed822 100644 >--- a/Makefile.inc1 >+++ b/Makefile.inc1 >@@ -1411,6 +1411,7 @@ buildkernel: .MAKE .PHONY > ${_+_}cd ${KRNLOBJDIR}/${_kernel}; ${KMAKE} obj > .endif > @echo >+ @date '+%s' > ${KRNLOBJDIR}/.buildkernel_start.${_kernel} > @echo "--------------------------------------------------------------" > @echo ">>> stage 2.3: build tools" > @echo "--------------------------------------------------------------" >@@ -1422,7 +1423,11 @@ buildkernel: .MAKE .PHONY > ${_+_}cd ${KRNLOBJDIR}/${_kernel}; ${KMAKE} all -DNO_MODULES_OBJ > @echo "--------------------------------------------------------------" > @echo ">>> Kernel build for ${_kernel} completed on `LC_ALL=C date`" >+ @seconds=$$(($$(date '+%s') - $$(cat ${KRNLOBJDIR}/.buildkernel_start.${_kernel}))); \ >+ echo -n ">>> Kernel build for ${_kernel} in $$seconds seconds, "; \ >+ echo "ncpu: $$(sysctl -n hw.ncpu)${.MAKE.JOBS:S/^/, make -j/}" > @echo "--------------------------------------------------------------" >+ > .endfor > > NO_INSTALLEXTRAKERNELS?= yes
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