diff options
author | Daniel Engberg <daniel.engberg.lists@pyret.net> | 2016-10-04 06:36:53 -0500 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-10-05 15:15:19 +0200 |
commit | cbc80805bd5f957cd5fad83c18adfa66f80a7d5e (patch) | |
tree | 8d501df892cb68b8061291042e38a9426046895c /include | |
parent | ed768ae4b2f744883765cae4d7e5f7f62249de01 (diff) | |
download | mtk-20170518-cbc80805bd5f957cd5fad83c18adfa66f80a7d5e.zip mtk-20170518-cbc80805bd5f957cd5fad83c18adfa66f80a7d5e.tar.gz mtk-20170518-cbc80805bd5f957cd5fad83c18adfa66f80a7d5e.tar.bz2 |
include/download.mk: Use -7e compression instead of -6 by default
Adds a slightly higher compression level to xz by default which roughly raises memory usage from 100MiB to about 200MiB during compression, about 10MiB for decompression. (Source: xz manpage)
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/download.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/download.mk b/include/download.mk index 227612d..2797e90 100644 --- a/include/download.mk +++ b/include/download.mk @@ -35,7 +35,7 @@ endef # code for creating tarballs from cvs/svn/git/bzr/hg/darcs checkouts - useful for mirror support dl_pack/bz2=$(TAR) --owner=0 --group=0 --sort=name $$$${TAR_TIMESTAMP:+--mtime="$$$$TAR_TIMESTAMP"} -cjf $(1) $(2) dl_pack/gz=$(TAR) --owner=0 --group=0 --sort=name $$$${TAR_TIMESTAMP:+--mtime="$$$$TAR_TIMESTAMP"} -c $(2) | gzip -nc > $(1) -dl_pack/xz=$(TAR) --owner=0 --group=0 --sort=name $$$${TAR_TIMESTAMP:+--mtime="$$$$TAR_TIMESTAMP"} -c $(2) | xz -zc > $(1) +dl_pack/xz=$(TAR) --owner=0 --group=0 --sort=name $$$${TAR_TIMESTAMP:+--mtime="$$$$TAR_TIMESTAMP"} -c $(2) | xz -zc -7e > $(1) dl_pack/unknown=echo "ERROR: Unknown pack format for file $(1)"; false define dl_pack $(if $(dl_pack/$(call ext,$(1))),$(dl_pack/$(call ext,$(1))),$(dl_pack/unknown)) |