Package: openfoam
Version: 4.1+dfsg1-1
Severity: minor
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu bionic ubuntu-patch

Dear Anton,

The openfoam package in Ubuntu had started to fail to build on ppc64el with
an OOM error.  Digging into this, I found that amd64 and arm64 already had
special handling in debian/rules, to build with lower parallelization on
Ubuntu.

I have uploaded the attached patch to Ubuntu to add ppc64el to this list,
and the package now builds.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru openfoam-4.1+dfsg1/debian/rules openfoam-4.1+dfsg1/debian/rules
--- openfoam-4.1+dfsg1/debian/rules     2016-11-18 12:15:14.000000000 -0800
+++ openfoam-4.1+dfsg1/debian/rules     2018-04-10 15:54:21.000000000 -0700
@@ -54,9 +54,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 and arm64
+# Limit parallel build to 3 processes on Ubuntu amd64, arm64, and ppc64el
 ifeq ($(VENDOR),Ubuntu)
-ifneq (,$(filter $(DEB_HOST_ARCH),amd64 arm64))
+ifneq (,$(filter $(DEB_HOST_ARCH),amd64 arm64 ppc64el))
     NUMJOBS := $(shell if test $(NUMJOBS) -gt 3; then echo 3 ; else echo 
$(NUMJOBS); fi)
 endif
 endif

Reply via email to