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

Re: How to skip debian/rules clean with git-buildpackage



Hi Rashad,

On 12/15/2015 03:48 PM, Sebastiaan Couwenberg wrote:
> On 15-12-15 14:48, Rashad Kanavath wrote:
>> On Tue, Dec 15, 2015 at 2:33 PM, Johan Van de Wauw wrote:
>>> Try debian/rules binary
>>
>> I am doing this right now. the build take more than 1hr on my system.
> 
> Are you using DEB_BUILD_OPTIONS="parallel=N"
> (where N is > 1 and <= number CPUs/Cores in your system)? E.g.:
> 
>  DEB_BUILD_OPTIONS="parallel=3" make -f debian/rules binary
> 
> To have debhelper honor the parallel option you must use
> `dh $@ --parallel` in debian/rules.
> 

It is not clear exactly what you are after. You say building takes a
long time. That can't really be helped for some packages. Cleaning
shouldn't really add much to that time. Running the install/binary
target is not normally longer than building.

Bas probably has the best option for reducing the build time.

The Debian Maintenance Guide has a section on quick building:
https://www.debian.org/doc/manuals/maint-guide/build.en.html#quickrebuild

$ fakeroot debian/rules build
might be what you are after (just to check if it builds OK).

Cheers,

Ross

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: