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

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



Hi,

I am using DEB_BUILD_OPTIONS options to have parallel jobs. Let me explain it more clear. I had a clean build at first. Then I did some changes in the packaging files such as .install etc.. Now if I could rebuild simply .deb files and do not clean the project's build directory that would save me more time. Because I haven't changed any configure or build options... just some small changes.
A typo in package name is another case where I don't want the rebuild the entire package. just try to make package from exists

I end up using  dpkg-buildpackage -nc to skip the clean target. 

For the record, I don't want this to be an option in the package. like never clean build directory. just for my test case like that. If I am changing stuff in debian/rules. I would prefer a clean build.

Here even with parallel on the system( a VM without much processing power), it took around 2hrs with the current settings. This largely depend on the system resources so that running parallel won't make much difference there.



On Tue, Dec 15, 2015 at 6:02 PM, Sebastiaan Couwenberg <sebastic@xs4all.nl> wrote:
On 15-12-15 17:33, Ross Gammon wrote:
> $ fakeroot debian/rules build
> might be what you are after (just to check if it builds OK).

For large projects using DEB_BUILD_OPTIONS="parallel=N" to limit
excessive build times is pretty much essential. The qgis and mapnik
builds took over an hour on my system before parallel support was
enabled using dh --parallel, that was also longer than I had to patience
to wait for build results. It much better now, but still very long.
That's inherent to big packages unfortunately.

Kind Regards,

Bas

--
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1




--
Regards,
   Rashad

Reply to: