Hello Ralf, Ralf Wildenhues wrote:
Thanks for the patch. Care to add a ChangeLog entry?
I'll happily do so. You can find it in the attached file.
A new feature should be in master first, before it is applied to a branch. Since master Automake 'dist' can compress in parallel, the slowest compressor should be started first; do you have data on how compression speed of lzip compares with lzma, xz, shar, ...?
I haven't got shar installed, but as you can see in the following data, lzip is faster than lzma, about as fast as xz, and slower than gzip and bzip2.
test file: tar-1.22.tar (12523520 bytes uncompressed) lzip-1.8 1577650 (11.1s) xz-4.999.8 1573336 (11.4s) lzma-4.32.5 1551444 (16.8s) lzip-1.8 (-9) 1540560 (16.6s) xz-4.999.8 (-9) 1550428 (11.6s) lzma-4.32.5 (-9) 1525700 (22.1s) bzip2 (-9) 2094575 (3.5s) gzip (-9) 2999002 (1.1s) Best regards, Antonio.
2010-02-20 Antonio Diaz Diaz <[email protected]> Add lzip compression support. * automake.in (handle_dist): Recognize dist-lzip. (make_paragraphs): Map LZIP to dist-lzip. * doc/automake.texi (Dist): Add dist-lzip. (Options): Likewise. * lib/Automake/Options.pm (_process_option_list): Add dist-lzip. * lib/am/distdir.am (dist dist-all): Add command to create an lzip-compressed tarball. (distcheck): Handle lzip-compressed tarballs just like the others. * tests/defs.in: Test for lzip, too. * tests/lzip.test: New file, based on nogzip.test. * tests/Makefile.am (TESTS): Add lzip.test.
