[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Something like nocompress DEB_BUILD_OPTION

On 9 November 2012 09:37, Simon McVittie <smcv@debian.org> wrote:
> On 08/11/12 19:31, Dmitrijs Ledkovs wrote:
>> I would like to have a nocompress Debian build option that will skip
>> any compression/optimisation at build time.

I am sorry if this was misleading. I am aware of the noopt option and
I am aware that disabling compiler optimisations gives you a different
(possibly broken) binaries.

> If what you want is a DEB_BUILD_OPTIONS option for "don't compress
> source or binary packages", nocompress seems a fine name for that; or to
> minimize side-effects by preserving the structure of the package, it
> could be something like quickcompress to keep the packager's choice of
> gzip or xz but use the fastest possible presets. (It's possible that
> "faster" presets don't actually give you more performance if the time to
> write out the .deb is dominated by I/O, though.)

This is what I want. And not currently available.

True about I/O. Does dpkg-deb writes-out tar to disk before
compressing it or is it a pipe?

> If what you want is a general shortcut option for "cut corners to get me
> a binary sooner, I (am|am not) willing to accept functional changes as a
> result" then it should have a different name, perhaps
> DEB_BUILD_OPTIONS=quick or something (or two different names, if there
> are valid uses for both versions).

I don't think this one is needed, as noopt + the above nocompress will
result in this shortcut, more or less.



Reply to: