[DSE-Dev] dpkg-buildpackage using -j by default

Laurent Bigonville bigon at debian.org
Wed Jan 18 20:59:26 UTC 2017


Le 18/01/17 à 14:17, Russell Coker a écrit :
> It appears that dpkg-buildpackage is now using -j for building refpolicy.  Did
> one of you make a change to the package to do this or is it now the default
> policy for dpkg-buildpackage?
>
> I don't really mind either way (it only took 5 minutes to build on my laptop
> with -j1 and I don't do builds that frequently).  I'm just curious.
I added the following code in 2:2.20140421-10:

ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
     NUMJOBS = $(patsubst parallel=%,%,$(filter 
parallel=%,$(DEB_BUILD_OPTIONS)))
     MAKEFLAGS += -j$(NUMJOBS)
endif

in addition to pass the --parallel option to the call to dh

Is it passing -j (without any number after for you?)



More information about the SELinux-devel mailing list