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

Drew Parsons dparsons at moszumanska.debian.org
Sat Jul 15 16:39:07 UTC 2017


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

dparsons pushed a commit to tag debian/3.7.4+dfsg1-2
in repository slepc.

commit 23f155ac56fc7245962fca1452a742354d2e4a22
Author: Drew Parsons <dparsons at debian.org>
Date:   Sat Jul 15 13:55:20 2017 +0800

    debian/rules: build using make -j 1
    
    SLEPc uses PETSc's lib/petsc/conf/rules which bans make -j.
    petsc uses MAKE_NP to handle parallel builds.
---
 debian/changelog | 3 +++
 debian/rules     | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index aa3d680..25d27fe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ slepc (3.7.4+dfsg1-2) UNRELEASED; urgency=medium
   * Team upload.
   * Standards-Version: 4.0.0
   * debhelper compatibility level 10.
+  * debian/rules: build using make -j 1
+    (SLEPc uses PETSc's lib/petsc/conf/rules which bans make -j.
+     petsc uses MAKE_NP to handle parallel builds)	      
 
  -- Drew Parsons <dparsons at debian.org>  Sat, 15 Jul 2017 13:36:28 +0800
 
diff --git a/debian/rules b/debian/rules
index 15e77a8..85cd15c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -131,7 +131,7 @@ override_dh_auto_install:
             --with-arpack=1 \
             --shared-library-extension=_real
 	dh_auto_build -p$(SLEPC_VERSIONED_DEV_PACKAGE) -p$(SLEPC_DOC_PACKAGE) -- \
-            PETSC_DIR=$(PETSC_DIR_REAL)
+            -j 1 PETSC_DIR=$(PETSC_DIR_REAL)
 	dh_auto_install -p$(SLEPC_VERSIONED_DEV_PACKAGE) -p$(SLEPC_DOC_PACKAGE) \
 	  --destdir=$(PACKAGE_INSTALL_DIR) --  \
           SLEPC_INSTALLDIR=$(SLEPC_DIR_PREFIX) \
@@ -146,7 +146,7 @@ override_dh_auto_install:
           --with-arpack=1 \
           --shared-library-extension=_complex
 	dh_auto_build -p$(SLEPC_COMPLEX_VERSIONED_DEV_PACKAGE)  --  \
-          PETSC_DIR=$(PETSC_DIR_COMPLEX)
+          -j 1 PETSC_DIR=$(PETSC_DIR_COMPLEX)
 	dh_auto_install -p$(SLEPC_COMPLEX_VERSIONED_DEV_PACKAGE) --destdir=$(PACKAGE_COMPLEX_INSTALL_DIR) --  \
           SLEPC_INSTALLDIR=$(SLEPC_COMPLEX_DIR_PREFIX) \
           SLEPC_DESTDIR=$(PACKAGE_COMPLEX_INSTALL_DIR) \

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



More information about the debian-science-commits mailing list