[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#740397: busybox: please add support for parallel building



Ben Hutchings <ben@decadent.org.uk> (2014-03-01):
> dpkg-buildpackage -j does *not* put -j on the debian/rules command line.
> It sets DEB_BUILD_OPTIONS.  This is done precisely so that build daemons
> can use dpkg-buildpackage -j for everything but it will only result in a
> parallel make where the maintainer has checked that this works.

FWIW it does exactly that:
| if (defined $parallel) {
|     $parallel = $build_opts->get("parallel") if $build_opts->has("parallel");
|     $ENV{MAKEFLAGS} ||= '';
|     $ENV{MAKEFLAGS} .= " -j$parallel";
|     $build_opts->set("parallel", $parallel);
|     $build_opts->export();
| }

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: