[petsc] 04/05: Revert "Enable parallel build"

Drew Parsons dparsons at moszumanska.debian.org
Sat Sep 10 16:33:06 UTC 2016


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

dparsons pushed a commit to tag debian/3.7.3.dfsg1-3
in repository petsc.

commit ad1a68d5f708f377f39a49c67b0720c6f46fc39a
Author: Drew Parsons <dparsons at emerall.com>
Date:   Sat Sep 3 17:14:16 2016 +0800

    Revert "Enable parallel build"
    
    This reverts commit 7001f3c149a6635fb434bebf7dd79b15067c7884.
    
    petsc uses a nonstandard makefile which does not support -j for
    parallel builds (it uses "make MAKE_NP=<np>" instead).
    
    The build output when dh $@ --parallel is enabled, is:
    
    dh_auto_build -plibpetsc3.7.3-dbg -ppetsc3.7.3-doc --  \
              PETSC_DIR=/home/drew/projects/petsc/build/petsc PETSC_ARCH=x86_64-linux-gnu-real-debug
    	make -j4 PETSC_DIR=/home/drew/projects/petsc/build/petsc PETSC_ARCH=x86_64-linux-gnu-real-debug
    make[2]: Entering directory '/home/drew/projects/petsc/build/petsc'
    ********************* ERROR **********************
    PETSc toplevel makefile does not support -j option.
    Instead - use: "make MAKE_NP=<np>". Current value of MAKE_NP is 7.
    **************************************************
    /home/drew/projects/petsc/build/petsc/lib/petsc/conf/rules:19: recipe for target 'chk_makej' failed
---
 debian/changelog | 1 -
 debian/rules     | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e979970..f6e0c88 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,7 +2,6 @@ petsc (3.7.3.dfsg1-3) UNRELEASED; urgency=medium
 
   * Reinstate build on kfreebsd (it now passes build-time tests).
   * Reinstate support for superlu (>=5.2).
-  * Enable parallel build, dh $@ --parallel --with python2
 
  -- Drew Parsons <dparsons at debian.org>  Sun, 28 Aug 2016 18:06:03 +0800
 
diff --git a/debian/rules b/debian/rules
index 51ea728..5342da4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -112,7 +112,7 @@ CONFIGURATION_OPTIONS=--with-shared-libraries --with-pic=1 \
 
 # main packaging script based on dh7 syntax
 %:
-	dh $@ --parallel --with python2
+	dh $@ --with python2
 
 override_dh_auto_clean:
 	if [ -d $(PETSC_DEBUG_BUILD_DIR) ]; then \

-- 
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