[distcc] Higher compression

Martin Pool mbp at sourcefrog.net
Thu Dec 6 04:05:04 GMT 2007


>  I went over the 7zip SDK and it didn't have a C compressor, just a
> decompressor, and I generally didn't like it. So I went with bzip2 instead.
>  I basically followed the LZO code, most of the new code is in
> compress_bz2.c . I should mention that currently it links to the system
> libbz2, is that a problem? I guess I could #ifdef all the code, but I don't
> know much about configure scripts, I just managed to get it to link libbz2
> (and not the proper way, I'm sure).
>  Currently, the code compiles. I'm hoping to test it soonish and evaluate
> performance.

I think linking to the system bz2 shouldn't be a problem.  Though we
should use autoconf to make sure distcc still builds on machines
without bz2, and it'll need ifdefs to accommodate that - though not
too many if it's reasonably clean.  Also, we must remember testing and
documentation of the change.

-- 
Martin


More information about the distcc mailing list