On Tue, Dec 16, 2008 at 5:37 AM, Martin Olsson <mn...@minimum.se> wrote:
> Normally when I want to rebuild a package with no-optimizations and full 
> debug symbols I do:
>
>        mkdir some_pkg ; cd some_pkg ; apt-get source SOME_PACKAGE ; cd 
> SOME_PACKAGE_DIR
>        DEB_BUILD_OPTIONS="noopt nostrip" fakeroot debian/rules binary
>        sudo dpkg -i ../*.deb
>
> This is very useful for debugging etc, but I've noticed one problem. Usually 
> these builds
> run on a single core. So my question is, is there a flag I can pass along 
> with this command
> to enable several jobs for make? Ideally, I would like to parallelize all 
> parts of the package
> generation but if I get only the compilation that alone would be very useful.

I have only used make-kpkg and pbuilder, but I imagine that you want
something like:
 CONCURRENCY_LEVEL=5 DEB_BUILD_OPTIONS="noopt nostrip" fakeroot
debian/rules binary
is what you want (if you have four cores).

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to