[Build-common-hackers] Bug#505328: Bug#505328: Please add support for parallel= in DEB_BUILD_OPTIONS
dr at jones.dk
Tue Nov 11 19:44:08 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
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
>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
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.
* 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)
-----END PGP SIGNATURE-----
More information about the Build-common-hackers