Source: recoll
Version: 1.24.3-2
Severity: wishlist
Tags: patch
Hi,
recoll 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
@@ -15,6 +15,10 @@ build3vers := $(shell py3versions -sv)
#build qt5 UI
export QT_SELECT := qt5
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ NJOBS := -j $(patsubst parallel=%,%,$(filter
parallel=%,$(DEB_BUILD_OPTIONS)))
+endif
+
config.status: configure
dh_testdir
./configure CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
@@ -30,7 +34,7 @@ build-arch: build-stamp
build-indep: build-stamp
build-stamp: config.status
dh_testdir
- $(MAKE)
+ $(MAKE) $(NJOBS)
touch $@
clean: