Bug#209008: parallel building: DEB_BUILD_OPTIONS or DEB_BUILD_OPTIONS_PARALLEL
On Sun, Sep 02, 2007 at 12:44:06PM +0200, Robert Millan wrote:
>
> I think you're overengineering. There are basicaly two use cases:
>
> a- Developer building a package for a specific purpose (e.g. testing
> an improvement), wanting to speed up this specific build.
>
> b- Buildd admin wanting to speed up build of the overall archive [1].
>
> (a) can be archieved simply by adding a flag to dpkg-buildpackage, such
> that when used it will pass the corresponding -j flag to make when invoking
> debian/rules (for consistency, it could also be -j) [2] [4].
Actually, you might be interested in knowing that this is possible right now,
without any change in dpkg-buildpackage, by using command injection via
gain-root-command:
dpkg-buildpackage -r"fakeroot make -j 2 -f"
Would still be nice to do this a bit more cleanly ;-). I'll send a patch to
dpkg maintainers.
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
Reply to: