Make installer compression tool configurable
commitb8278d93bbf8c63e283024783da32f84f7e4f246
authorThorsten Behrens <thorsten.behrens@allotropia.de>
Sat, 15 Jan 2022 15:24:33 +0000 (15 16:24 +0100)
committerThorsten Behrens <thorsten.behrens@allotropia.de>
Sat, 22 Jan 2022 09:14:23 +0000 (22 10:14 +0100)
tree3ef6511084ea46b3da3bd5bccfd076126ff17c53
parent7270ed7b81c12c8ba2e57b1a0d2ae084f8489d61
Make installer compression tool configurable

So we can use pigz or other parallelizable tools if available. Shaves
off noticeable build time when packaging install sets.

- figure out if pigz is available (fallback to gzip otherwise)
- pass compression tool down into make_installer
- and handle as one of many global options there

Change-Id: Ia9d1ea27a9f990874238b6f0be3e1fd30a662ec6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128469
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
config_host.mk.in
configure.ac
instsetoo_native/CustomTarget_install.mk
solenv/bin/modules/installer/download.pm
solenv/bin/modules/installer/epmfile.pm
solenv/bin/modules/installer/globals.pm
solenv/bin/modules/installer/helppack.pm
solenv/bin/modules/installer/languagepack.pm
solenv/bin/modules/installer/parameter.pm
solenv/bin/modules/installer/simplepackage.pm
solenv/bin/modules/installer/worker.pm