Source: nordugrid-arc Version: 5.4.3-2 Severity: wishlist Tags: patch Hi,
nordugrid-arc 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 @@ -14,6 +14,10 @@ else CANL_CONFIGURE_OPTION = endif +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) +NJOBS := -j $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) +endif + configure: configure-stamp configure-stamp: @@ -51,9 +55,9 @@ build-indep: build-stamp build-stamp: configure-stamp dh_testdir - $(MAKE) + $(MAKE) $(NJOBS) ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) - $(MAKE) check + $(MAKE) $(NJOBS) check endif touch $@