[med-svn] [phyml] 01/04: Enable MPI version of phyml

Andreas Tille tille at debian.org
Mon Mar 14 12:02:07 UTC 2016


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

tille pushed a commit to branch master
in repository phyml.

commit fd536febc68fcd394f80f0e5cb3519f831a7dc94
Author: Andreas Tille <tille at debian.org>
Date:   Mon Mar 14 12:48:42 2016 +0100

    Enable MPI version of phyml
---
 debian/changelog | 1 +
 debian/control   | 3 ++-
 debian/rules     | 8 ++++++++
 3 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 5cc2410..c7a77e2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ phyml (3:3.2.0+dfsg-2) UNRELEASED; urgency=medium
   * Fix VCS link in d/control
   * Patch for reproduible build (configure.ac date)
   * Bump standards version to 3.9.7
+  * Enable MPI version of phyml
 
  -- Kevin Murray <spam at kdmurray.id.au>  Wed, 02 Mar 2016 15:39:54 +1100
 
diff --git a/debian/control b/debian/control
index 729ed02..c15d69d 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,8 @@ Build-Depends: debhelper (>= 9),
                autotools-dev,
                dh-autoreconf,
                pkg-config,
-               libhmsbeagle-dev
+               libhmsbeagle-dev,
+               libopenmpi-dev
 Standards-Version: 3.9.7
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/phyml.git
 Vcs-Git: https://anonscm.debian.org/cgit/debian-med/phyml.git
diff --git a/debian/rules b/debian/rules
index 6194844..361c0b8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,6 +19,14 @@ override_dh_auto_build:
 	mv doc/phyml-manual.pdf .
 	$(MAKE) distclean
 	mv phyml-manual.pdf doc
+	dh_auto_configure -- --enable-mpi
+	dh_auto_build -- LDFLAGS="$(LDFLAGS)"
+	# move phyml binary to temporary dir inside debian/
+	# mkdir -p $(CURDIR)/debian/bin
+	mv src/phyml-mpi $(CURDIR)/debian/bin/phyml-mpi
+	mv doc/phyml-manual.pdf .
+	$(MAKE) distclean
+	mv phyml-manual.pdf doc
 	dh_auto_configure -- --enable-phytime
 	dh_auto_build -- LDFLAGS="$(LDFLAGS)" CPPFLAGS="-DPHYREX $(CPPFLAGS)"
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/phyml.git



More information about the debian-med-commit mailing list