makeself icon indicating copy to clipboard operation
makeself copied to clipboard

parallel decompression using pigz ?

Open gadh opened this issue 2 years ago • 3 comments

i use v2.4.2 and compressed in parallel using pigz. now in the decompression process i see it uses gzip which does not support parallel. can it use pigz in decompress also ?

gadh avatar Jan 26 '22 09:01 gadh

gzip is the more widely available command to uncompress the archive in this case. However we could add some code to find an alternative pigz if that is a functional equivalent.

megastep avatar Jan 26 '22 22:01 megastep

That would be really nice. I tried forcing pigz with --untar-extra --use-compress-program=pigz when decompressing but could not make it work.

diekleinekuh avatar Sep 08 '22 18:09 diekleinekuh

gzip is currently run separately from tar so the extra argument would have no effect. We could add some code to check for the presence of pigz as an alternative and call it instead when available.

megastep avatar Sep 08 '22 19:09 megastep