mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-23 08:20:00 +00:00
buildsystem: add GETPKG history event
This commit is contained in:
parent
6fdbbd8796
commit
5895dc069f
@ -18,6 +18,8 @@ _get_file_already_downloaded && exit 0
|
||||
# At this point, we need to download something...
|
||||
build_msg "CLR_GET" "GET" "${1} (archive)" "indent"
|
||||
|
||||
pkg_lock_status "GETPKG" "${PKG_NAME}" "unpack" "downloading package..."
|
||||
|
||||
PACKAGE_MIRROR="${DISTRO_MIRROR}/${PKG_NAME}/${PKG_SOURCE_NAME}"
|
||||
[ "${VERBOSE}" != "yes" ] && WGET_OPT=-q
|
||||
WGET_CMD="wget --output-file=- --timeout=30 --tries=3 --passive-ftp --no-check-certificate -c ${WGET_OPT} --progress=bar:force --show-progress -O ${PACKAGE}"
|
||||
|
@ -2,3 +2,5 @@
|
||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
build_msg "CLR_GET" "GET" "${1} (file)" "indent"
|
||||
|
||||
pkg_lock_status "GETPKG" "${PKG_NAME}" "unpack" "processing package file..."
|
||||
|
@ -44,6 +44,8 @@ _get_repo_already_downloaded && exit 0
|
||||
# At this point, we need to download something...
|
||||
build_msg "CLR_GET" "GET" "${1} (git)" "indent"
|
||||
|
||||
pkg_lock_status "GETPKG" "${PKG_NAME}" "unpack" "processing package repository..."
|
||||
|
||||
rm -f "${STAMP_URL}" "${STAMP_SHA}"
|
||||
|
||||
GIT_CLONE_PARAMS=""
|
||||
|
@ -63,7 +63,7 @@ for event in events:
|
||||
"start": 0.0,
|
||||
"total": 0.0})
|
||||
|
||||
if event.status in ["ACTIVE", "MUTEX"]:
|
||||
if event.status in ["ACTIVE", "MUTEX", "GETPKG"]:
|
||||
if slot["active"] == False:
|
||||
active += 1
|
||||
concurrent = concurrency.get(active, {"start": 0.0, "total": 0.0})
|
||||
@ -98,7 +98,7 @@ print("Total Build Time: %s\n" % secs_to_hms(elapsed, blankzero=False))
|
||||
|
||||
print("Peak concurrency: %d out of %d slots\n" % (peak, len(slots)))
|
||||
|
||||
print("Slot usage (time in ACTIVE state): | Concurrency breakdown:\n")
|
||||
print("Slot usage (time in an \"active\" state): | Concurrency breakdown:\n")
|
||||
print("#Rank Slot Usage ( Pct ) # of Slots Usage ( Pct )")
|
||||
|
||||
lines = []
|
||||
|
Loading…
Reference in New Issue
Block a user