Package: openmpi
Severity: wishlist
Tags: patch

Hi,

BLCR is now in main. It would be nice if openmpi were built using this
where it is available.

I've attached a short patch adding options to configure, and build-depends

Thanks,
Alan

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686-bigmem (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
diff -u openmpi-1.3.3/debian/changelog openmpi-1.3.3/debian/changelog
--- openmpi-1.3.3/debian/changelog
+++ openmpi-1.3.3/debian/changelog
@@ -1,3 +1,9 @@
+openmpi (1.3.3-2) unstable; urgency=low
+
+  * Build with BLCR support on i386,amd64,ppc,armel
+
+ -- Alan Woodland <awoodl...@debian.org>  Wed, 09 Sep 2009 16:41:22 +0100
+
 openmpi (1.3.3-1) unstable; urgency=low
 
   * New upstream version
diff -u openmpi-1.3.3/debian/rules openmpi-1.3.3/debian/rules
--- openmpi-1.3.3/debian/rules
+++ openmpi-1.3.3/debian/rules
@@ -27,8 +27,25 @@
 	CFLAGS += -mcpu=v9
 endif
 
+
+CHKPT =
+
+ifeq "$(DEB_HOST_ARCH)" "amd64"
+        CHKPT += --with-ft=cr --with-blcr=/usr --with-blcr-libdir=/usr/lib
+endif
+ifeq "$(DEB_HOST_ARCH)" "i386"
+        CHKPT += --with-ft=cr --with-blcr=/usr --with-blcr-libdir=/usr/lib
+endif
+ifeq "$(DEB_HOST_ARCH)" "armel"
+        CHKPT += --with-ft=cr --with-blcr=/usr --with-blcr-libdir=/usr/lib
+endif
+ifeq "$(DEB_HOST_ARCH)" "powerpc"
+        CHKPT += --with-ft=cr --with-blcr=/usr --with-blcr-libdir=/usr/lib
+endif
+
 COMMON_CONFIG_PARAMS = \
 			$(CROSS)				\
+			$(CHKPT)				\
 			--prefix=/usr 				\
 			--mandir=\$${prefix}/share/man 		\
 			--infodir=\$${prefix}/share/info 	\
diff -u openmpi-1.3.3/debian/control openmpi-1.3.3/debian/control
--- openmpi-1.3.3/debian/control
+++ openmpi-1.3.3/debian/control
@@ -4,7 +4,7 @@
 Homepage: http://www.open-mpi.org/
 Maintainer: Debian OpenMPI Maintainers <pkg-openmpi-maintain...@lists.alioth.debian.org>
 Uploaders: Manuel Prinz <man...@debian.org>, Sylvestre Ledru <sylves...@debian.org>
-Build-Depends: debhelper (>= 5.0.0), libibverbs-dev (>= 1.1.1) [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], gfortran, gcc (>= 4:4.1.2), chrpath, quilt
+Build-Depends: debhelper (>= 5.0.0), libibverbs-dev (>= 1.1.1) [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], gfortran, gcc (>= 4:4.1.2), chrpath, quilt, libcr-dev [amd64 i386 powerpc armel]
 Standards-Version: 3.8.3
 Vcs-Svn: svn://svn.debian.org/svn/pkg-openmpi/openmpi/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/

Reply via email to