mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
config/multithread: dump stats after a build
This commit is contained in:
parent
6774e7731c
commit
e48447f305
@ -156,6 +156,8 @@ start_multithread_build() {
|
|||||||
--plain --no-notice --max-procs ${THREADCOUNT} --joblog="${THREAD_CONTROL}/joblog" --plus ${buildopts} \
|
--plain --no-notice --max-procs ${THREADCOUNT} --joblog="${THREAD_CONTROL}/joblog" --plus ${buildopts} \
|
||||||
package_worker {%} {#} {##} {} || result=1
|
package_worker {%} {#} {##} {} || result=1
|
||||||
|
|
||||||
|
[ -f "${THREAD_CONTROL}"/history ] && echo && cat "${THREAD_CONTROL}"/history | ${ROOT}/tools/mtstats.py
|
||||||
|
|
||||||
rm -f "${THREAD_CONTROL}/parallel.pid"
|
rm -f "${THREAD_CONTROL}/parallel.pid"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -136,6 +136,7 @@ done
|
|||||||
# Build image contents
|
# Build image contents
|
||||||
MTADDONBUILD=no start_multithread_build image || die "Parallel build failure - see log for details. Time of failure: $(date)"
|
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
|
echo "Successful build, creating image..." >&2
|
||||||
|
|
||||||
# Create legacy sym links
|
# Create legacy sym links
|
||||||
|
Loading…
x
Reference in New Issue
Block a user