From e48447f3050edf9dc4c28dadd14309f6c3665278 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Wed, 25 Dec 2019 20:09:01 +0000 Subject: [PATCH] config/multithread: dump stats after a build --- config/multithread | 2 ++ scripts/image | 1 + 2 files changed, 3 insertions(+) diff --git a/config/multithread b/config/multithread index 4d7e848fdf..4b7822f8ff 100644 --- a/config/multithread +++ b/config/multithread @@ -156,6 +156,8 @@ start_multithread_build() { --plain --no-notice --max-procs ${THREADCOUNT} --joblog="${THREAD_CONTROL}/joblog" --plus ${buildopts} \ package_worker {%} {#} {##} {} || result=1 + [ -f "${THREAD_CONTROL}"/history ] && echo && cat "${THREAD_CONTROL}"/history | ${ROOT}/tools/mtstats.py + rm -f "${THREAD_CONTROL}/parallel.pid" fi diff --git a/scripts/image b/scripts/image index d59220c294..72512df6aa 100755 --- a/scripts/image +++ b/scripts/image @@ -136,6 +136,7 @@ done # Build image contents MTADDONBUILD=no start_multithread_build image || die "Parallel build failure - see log for details. Time of failure: $(date)" +echo echo "Successful build, creating image..." >&2 # Create legacy sym links