[Build-common-hackers] parallel builds using DEB_BUILD_OPTIONS

Stefano Zacchiroli zack at debian.org
Wed Oct 15 12:55:05 UTC 2008


On Wed, Oct 15, 2008 at 07:17:41AM -0500, Steve M. Robbins wrote:
> It strikes me, therefore, that the policy manual should be updated,
> removing MAKEFLAGS and instead showing an explicit "make -J$(NUMJOBS) ...".

Or better "$(MAKE) -j$(NUMJOBS)".

> However, my problem is with cdbs: how can I supply -jN to only the
> initial make?

Maybe it's a ugly hack, but what about:

DEB_MAKE_BUILD_TARGET = -j$(NUMJOBS) ACTUAL_BUILD_TARGET

It should work at least in case you are using only the makefile.mk
class, I haven't checked if it can be made to work with autotools.mk.

Cheers.

-- 
Stefano Zacchiroli -*- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è sempre /oo\ All one has to do is hit the right
uno zaino        -- A.Bergonzoni \__/ keys at the right time -- J.S.Bach
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20081015/3b541d57/attachment.pgp 


More information about the Build-common-hackers mailing list