[Build-common-hackers] Bug#505328: Bug#505328: Please add support for parallel= in DEB_BUILD_OPTIONS

Jonas Smedegaard dr at jones.dk
Tue Nov 11 19:44:08 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Tue, Nov 11, 2008 at 01:08:34PM -0600, Steve M. Robbins wrote:
>It would be nice if I could either set some variable like
>DEB_MAKE_PARALLEL=yes, or use something like
>    include /usr/share/cdbs/1/rules/parallel.mk
>and be finished.  

Thanks for raising this topic.


Both these concrete proposals fail to support the (corner) case of a 
package using 2 build systems simultaneously, only one of them 
supporting parallel builds.


>Failing that, I need some way to pass a -jN flag to the initial make
>invocation.

>The recommended practice is to supply -jN *only* to the initial 
>invocation of make.

I suggest adding the options DEB_MAKE_BUILD-OPTIONS, 
DEB_MAKE_INSTALL_OPTIONS, DEB_MAKE_CHECK_OPTIONS and 
DEB_MAKE_CLEAN_OPTIONS.

all of those options would be blank by default (to ensure backwards 
compatibility for packages not supporting parallel build). In a next 
major version of cdbs we can enable parallelism by default.



Regards,

  - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkkZ4IgACgkQn7DbMsAkQLi2tQCcCnoIGxKdRTUtiPe1FM6ZvCDf
DfQAnAi4hADKDaa9RXaPiViB8z0cdLUC
=91mm
-----END PGP SIGNATURE-----





More information about the Build-common-hackers mailing list