Bug#920586: please adjust the -j <n> used for the Ubuntu builds

Matthias Klose doko at debian.org
Sun Jan 27 08:08:33 GMT 2019


Package: src:openfoam
Version: 1812+dfsg1-1
Severity: wishlist

seeing new failure on other archs (armhf), so please adjust this, or fix the
underlying problem (sent another bug report for that one).

--- openfoam-1812+dfsg1/debian/rules    2019-01-16 03:06:22.000000000 +0000
+++ openfoam-1812+dfsg1/debian/rules    2019-01-25 19:33:12.000000000 +0000
@@ -61,11 +61,9 @@
 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
     NUMJOBS := $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 endif
-# Limit parallel build to 3 processes on Ubuntu amd64, arm64 and ppc64el
+# Limit parallel build to 2 processes on Ubuntu
 ifeq ($(VENDOR),Ubuntu)
-ifneq (,$(filter $(DEB_HOST_ARCH),amd64 arm64 ppc64el))
-    NUMJOBS := $(shell if test $(NUMJOBS) -gt 3; then echo 3 ; else echo
$(NUMJOBS); fi)
-endif
+    NUMJOBS := $(shell if test $(NUMJOBS) -gt 2; then echo 2 ; else echo
$(NUMJOBS); fi)
 endif

 export WM_NCOMPPROCS=$(NUMJOBS)



More information about the debian-science-maintainers mailing list