← Back to team overview

ubuntu-phone team mailing list archive

build debian package in paralle.

 

Hi, As doing debugging, I try to rebuild

https://launchpad.net/ubuntu-system-settings

for arm, which use cmake to generate Makefile. On my host to build, I use
"ptest -p utopic" (ptest from pbuilder-scripts which are scripts wrapper
for pbuild) and run debian/rule binary there.

Since it's C++, the compile takes long time if not compile in parallel.

I try several method like

export DEB_BUILD_OPTIONS="parallel=2"
debin/rule binary

or

add parallel=4 to debian/rules (
https://www.debian.org/doc/debian-policy/ch-source.html)

Both not make it build in -j 4 as compiling.

Anyone who know how to make it works, thanks.

YC

Follow ups