Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178325438
D45912.1796495933.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
2 KB
Referenced Files
None
Subscribers
None
D45912.1796495933.diff
View Options
Index: Makefile.inc1
===================================================================
--- Makefile.inc1
+++ Makefile.inc1
@@ -1242,11 +1242,19 @@
.endif
WMAKE_TGTS+= everything
-# record buildworld time in seconds
+# record buildworld / install time in seconds
.if make(buildworld)
_BUILDWORLD_START!= date '+%s'
.export _BUILDWORLD_START
.endif
+.if make(installworld)
+_INSTALLWORLD_START!= date '+%s'
+.export _INSTALLWORLD_START
+.endif
+.if make(installkernel)
+_INSTALLKERNEL_START!= date '+%s'
+.export _INSTALLKERNEL_START
+.endif
buildworld: buildworld_prologue ${WMAKE_TGTS} buildworld_epilogue .PHONY
.ORDER: buildworld_prologue ${WMAKE_TGTS} buildworld_epilogue
@@ -1314,11 +1322,11 @@
installcheck: _installcheck_world _installcheck_kernel .PHONY
_installcheck_world: .PHONY
@echo "--------------------------------------------------------------"
- @echo ">>> Install check world"
+ @echo ">>> Install check world started on `LC_ALL=C date`"
@echo "--------------------------------------------------------------"
_installcheck_kernel: .PHONY
@echo "--------------------------------------------------------------"
- @echo ">>> Install check kernel"
+ @echo ">>> Install check kernel started on `LC_ALL=C date`"
@echo "--------------------------------------------------------------"
#
@@ -1642,6 +1650,8 @@
.endfor
@echo "--------------------------------------------------------------"
@echo ">>> Installing everything completed on `LC_ALL=C date`"
+ @seconds=$$(($$(date '+%s') - ${_INSTALLWORLD_START})); \
+ echo ">>> Install world completed in $$seconds seconds, ncpu: $$(${_ncpu_cmd})${.MAKE.JOBS:S/^/, make -j/}"
@echo "--------------------------------------------------------------"
redistribute: .MAKE .PHONY
@@ -1874,6 +1884,9 @@
@echo "--------------------------------------------------------------"
@echo ">>> Installing kernel ${INSTALLKERNEL} completed on $$(LC_ALL=C date)"
@echo "--------------------------------------------------------------"
+ @seconds=$$(($$(date '+%s') - ${_INSTALLKERNEL_START})); \
+ echo ">>> Install kernel(s) ${INSTALLKERNEL} completed in $$seconds seconds, ncpu: $$(${_ncpu_cmd})${.MAKE.JOBS:S/^/, make -j/}"
+ @echo "--------------------------------------------------------------"
.endif
.if ${BUILDKERNELS:[#]} > 1 && ${NO_INSTALLEXTRAKERNELS} != "yes"
.for _kernel in ${BUILDKERNELS:[2..-1]}
@@ -1888,6 +1901,9 @@
@echo ">>> Installing kernel ${_kernel} completed on $$(LC_ALL=C date)"
@echo "--------------------------------------------------------------"
.endfor
+ @seconds=$$(($$(date '+%s') - ${_INSTALLKERNEL_START})); \
+ echo ">>> Install kernel(s) ${BUILDKERNELS} completed in $$seconds seconds, ncpu: $$(${_ncpu_cmd})${.MAKE.JOBS:S/^/, make -j/}"
+ @echo "--------------------------------------------------------------"
.endif
distributekernel distributekernel.debug: .PHONY
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 5, 6:38 PM (22 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42238416
Default Alt Text
D45912.1796495933.diff (2 KB)
Attached To
Mode
D45912: `make installworld' should display the install time
Attached
Detach File
Event Timeline