Rebuilding a package with debug symbols and no optimization in a _parallel_ fashion?
gmatht at gmail.com
Tue Dec 16 04:23:26 UTC 2008
On Tue, Dec 16, 2008 at 5:37 AM, Martin Olsson <mnemo at 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
CONCURRENCY_LEVEL=5 DEB_BUILD_OPTIONS="noopt nostrip" fakeroot
is what you want (if you have four cores).
John C. McCabe-Dansted
University of Western Australia
More information about the Ubuntu-devel-discuss