[petsc] 03/03: debian/rules: build using make -j 1

Drew Parsons dparsons at moszumanska.debian.org
Fri Jul 14 10:23:26 UTC 2017


This is an automated email from the git hooks/post-receive script.

dparsons pushed a commit to branch master
in repository petsc.

commit 7d0d717b6fa5b6a45c6046af525e90be3a91843d
Author: Drew Parsons <dparsons at debian.org>
Date:   Fri Jul 14 17:44:28 2017 +0800

    debian/rules: build using make -j 1
    
    petsc uses MAKE_NP to handle parallel builds,
    see lib/petsc/conf/rules
---
 debian/changelog | 3 +++
 debian/rules     | 8 ++++----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 16ca5ea..f7f1637 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ petsc (3.7.6+dfsg1-2) UNRELEASED; urgency=medium
   * Team upload.
   * Standards-Version: 4.0.0
   * debhelper compatibility level 10
+  * debian/rules: build using make -j 1 
+    (petsc uses MAKE_NP to handle parallel builds, 
+    see lib/petsc/conf/rules)
 
  -- Drew Parsons <dparsons at debian.org>  Fri, 14 Jul 2017 17:15:49 +0800
 
diff --git a/debian/rules b/debian/rules
index 131e5c7..ec27fac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -208,13 +208,13 @@ override_dh_auto_configure:
 
 override_dh_auto_build:
 	dh_auto_build -p$(PETSC_DEBUG_PACKAGE) -p$(PETSC_DOC_PACKAGE) --  \
-          PETSC_DIR=$(CURDIR) PETSC_ARCH=$(PETSC_DEBUG_BUILD_DIR)
+          -j 1 PETSC_DIR=$(CURDIR) PETSC_ARCH=$(PETSC_DEBUG_BUILD_DIR)
 	dh_auto_build -p$(PETSC_VERSIONED_DEV_PACKAGE)  --  \
-          PETSC_DIR=$(CURDIR) PETSC_ARCH=$(PETSC_BUILD_DIR)
+          -j 1 PETSC_DIR=$(CURDIR) PETSC_ARCH=$(PETSC_BUILD_DIR)
 	dh_auto_build -p$(PETSC_COMPLEX_VERSIONED_DEV_PACKAGE)  --  \
-          PETSC_DIR=$(CURDIR) PETSC_ARCH=$(PETSC_COMPLEX_BUILD_DIR)
+          -j 1 PETSC_DIR=$(CURDIR) PETSC_ARCH=$(PETSC_COMPLEX_BUILD_DIR)
 	dh_auto_build -p$(PETSC_COMPLEX_DEBUG_PACKAGE)  --  \
-          PETSC_DIR=$(CURDIR) PETSC_ARCH=$(PETSC_COMPLEX_DEBUG_BUILD_DIR)
+          -j 1 PETSC_DIR=$(CURDIR) PETSC_ARCH=$(PETSC_COMPLEX_DEBUG_BUILD_DIR)
 
 
 override_dh_auto_test:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/petsc.git



More information about the debian-science-commits mailing list