Re: Something like nocompress DEB_BUILD_OPTION
On 9 November 2012 00:54, Adam Borowski <email@example.com> wrote:
> On Thu, Nov 08, 2012 at 03:39:55PM -0800, Russ Allbery wrote:
>> Dmitrijs Ledkovs <firstname.lastname@example.org> writes:
>> > I would like to have a nocompress Debian build option that will skip any
>> > compression/optimisation at build time.
>> > Specifically dpkg-builddeb and dpkg-source should use not use any
>> > compression methods.
>> Why do you think this would be of any benefit? gzip compression is pretty
>> fast. It seems unlikely to me that this is a substantial bottleneck.
> Why would you ever use gzip if you have a choice? xz has speed parity with
> gzip -9 at somewhere between levels 2 and 3, with greatly better
> compression. Just use xz -0.
Interesting to know. I am after pure speed only, so surely compression
`dpkg-deb -Znone` will be the least amount of CPU time for debs.
Exact flags can be tweaked, as long as we agree on
DEB_BUILD_OPTIONS=nocompress=1 to begin with.