[arch-projects] [PATCH] [devtools] makechrootpkg: load compression-related vars, mostly to allow multi-core compression
Compressing large packages on a single core takes much longer than necessary, so loading these vars would save a lot of time. --- makechrootpkg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makechrootpkg.in b/makechrootpkg.in index 72b7eb7..69b2122 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -91,7 +91,7 @@ load_vars() { [[ -f $makepkg_conf ]] || return 1 - for var in {SRC,SRCPKG,PKG,LOG}DEST MAKEFLAGS PACKAGER; do + for var in {SRC,SRCPKG,PKG,LOG}DEST MAKEFLAGS PACKAGER COMPRESS{{G,X,LR,}Z,BZ2,LZO}; do [[ -z ${!var:-} ]] && eval $(grep "^${var}=" "$makepkg_conf") done -- 2.12.2
On 11 May 2017 at 15:51, Bennett Piater <bennett@piater.name> wrote:
Compressing large packages on a single core takes much longer than necessary, so loading these vars would save a lot of time.
This would probably break delta packages, so it's a no-go. https://lists.archlinux.org/pipermail/arch-general/2014-December/038074.html
participants (2)
-
Bennett Piater
-
Evangelos Foutras