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

Bug#209008: parallel building: DEB_BUILD_OPTIONS or DEB_BUILD_OPTIONS_PARALLEL



On Mon, Sep 03, 2007 at 09:31:33AM -0500, Peter Samuelson wrote:
> 
> [Robert Millan]
> > 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"
> 
> I doubt that works in the general case, only if the time-consuming and
> parallelizable part of the build is done in the binary-* targets
> instead of the build-* targets.  (The build and build-* targets are not
> run as root.)  Which should be relatively rare.

Ah, right.  I didn't quite think about it.

-- 
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: