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

Bug#209008: parallel building: DEB_BUILD_OPTIONS or DEB_BUILD_OPTIONS_PARALLEL



[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.
-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/

Attachment: signature.asc
Description: Digital signature


Reply to: