Source: hugin Version: 2014.0.0~rc3+dfsg-3 Severity: wishlist Tags: patch Hi,
hugin seems to build fine with multiple build jobs when building. Thus, my suggestion is to enable the parallel build (reading the number of jobs from DEB_BUILD_OPTIONS, and adding it to the make invocation) to speed up the build when requested (see also Policy ยง4.9.1). Thanks, -- Pino
--- a/debian/rules +++ b/debian/rules @@ -61,6 +61,11 @@ UVERSION ?= $(shell dpkg-parsechangelog # both under .pod and .1 formats). GENERATED_MANPAGES=debian/generated-manpages +# Parallel build support. +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) +NJOBS := -j $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) +endif + zthread-dep := $(shell \ dpkg-query -f='$${source:Package} (= $${source:Version})' \ -W libzthread-dev ) @@ -80,7 +85,7 @@ build-indep: build-indep-stamp build-arch-stamp: configure-stamp # Compile the package. - $(MAKE) -C $(BUILD_DIR) VERBOSE=1 + $(MAKE) $(NJOBS) -C $(BUILD_DIR) VERBOSE=1 touch $@ build-indep-stamp: configure-stamp