[pmix] 04/16: Include PSM dependencies

Alastair McKinstry mckinstry at moszumanska.debian.org
Wed Oct 25 13:55:32 UTC 2017


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

mckinstry pushed a commit to branch debian/master
in repository pmix.

commit 44381a5ac7cf27b1fb7acc54e559347e67814377
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Mon Sep 18 15:52:30 2017 +0100

    Include PSM dependencies
---
 debian/control | 14 +++-----------
 debian/rules   | 16 ++++++++++++++++
 2 files changed, 19 insertions(+), 11 deletions(-)

diff --git a/debian/control b/debian/control
index c6ba33f..b87bbfb 100644
--- a/debian/control
+++ b/debian/control
@@ -3,21 +3,13 @@ Section: net
 Priority: optional
 Maintainer: Alastair McKinstry <mckinstry at debian.org>
 Uploaders: Debian Open MPI Maintainers <pkg-openmpi-maintainers at lists.alioth.debian.org>
-Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 10), 
- automake, autoconf (>= 2.59),  libtool, libltdl-dev, autotools-dev,
- gfortran, gcc (>= 4:5.2.1), chrpath, 
- libhwloc-dev,
+Build-Depends: debhelper (>= 10), 
+ gfortran, gcc (>= 4:5.2.1), 
  pkg-config,
- libibverbs-dev (>= 1.1.7) [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
- libfabric-dev [amd64 i386],
  libpsm-infinipath1-dev [amd64 i386],
- libcr-dev [amd64 armel armhf i386 powerpc], 
- libnuma-dev [amd64 i386 ia64 mips mipsel mipsn32 mipsn32el mips64 mips64el powerpc ppc64el],
 Build-Conflicts: libmpich-dev, libopenmpi-dev
 Standards-Version: 4.1.0
-Homepage: http://www.open-mpi.org/
-Vcs-Svn: svn://svn.debian.org/svn/pkg-openmpi/openmpi/trunk/
-Vcs-Browser: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/
+Homepage: https://github.com/pmix/pmix
 
 Package: libpmix-dev
 Section: libdevel
diff --git a/debian/rules b/debian/rules
index 83221b3..324b1c1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,23 @@ DEBIAN_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\-.*\)/\1/
 DESTDIR:=`pwd`/debian/tmp/
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 LIBDIR:=usr/lib/$(DEB_HOST_MULTIARCH)
+AUTOGENERATED:=
+
+PSM_ARCH:= amd64 i386
+
+ifneq (,$(findstring $(DEB_HOST_ARCH),$(PSM_ARCH)))
+	PSM:= --with-psm
+endif
+
 
 %:
 	dh $@ --parallel 
 
+override_dh_auto_configure:
+	./autogen.pl --force
+	for f in ${AUTOGENERATED} ; do \
+                sed -e 's%@TRIPLET@%${DEB_HOST_MULTIARCH}%g' < debian/$$f.in  > debian/$$f ; \
+                done
+	dh_auto_configure -- \
+		$(PSM) 
+

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



More information about the debian-science-commits mailing list