summaryrefslogtreecommitdiff
path: root/testing/openmpi
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-17 00:02:42 +0000
committerroot <root@rshg054.dnsready.net>2012-05-17 00:02:42 +0000
commitf675762300c4ee2717e029975bb3f94312245276 (patch)
tree3cb4f1276985f141129f7da1b3b8fad580df2ca3 /testing/openmpi
parenta7a5f4160bb345e35c58a565494d4416f601fc17 (diff)
Thu May 17 00:02:42 UTC 2012
Diffstat (limited to 'testing/openmpi')
-rw-r--r--testing/openmpi/PKGBUILD18
1 files changed, 8 insertions, 10 deletions
diff --git a/testing/openmpi/PKGBUILD b/testing/openmpi/PKGBUILD
index 78bf33ab0..4aaac9a00 100644
--- a/testing/openmpi/PKGBUILD
+++ b/testing/openmpi/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 157996 2012-04-30 21:40:03Z stephane $
+# $Id: PKGBUILD 159081 2012-05-15 12:02:16Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
pkgname=openmpi
-pkgver=1.5.5
-pkgrel=3
+pkgver=1.6
+pkgrel=1
pkgdesc="High performance message passing library (MPI)"
arch=('i686' 'x86_64')
url="http://www.open-mpi.org"
@@ -10,20 +10,18 @@ license=('custom')
depends=('gcc-fortran' 'openssh' 'valgrind' 'libltdl' 'hwloc')
makedepends=('inetutils')
options=(!libtool)
-source=(http://www.open-mpi.org/software/ompi/v1.5/downloads/${pkgname}-${pkgver}.tar.bz2
- openmpi-1.5.4-fix-fakeroot-execution.patch)
-sha1sums=('206e555f6d376443f2342f721d944e67dd1a04ef'
- 'ec46abb6f9e01daca910e4079b9abc036db9ed20')
+source=(http://www.open-mpi.org/software/ompi/v1.6/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('8b81eea712bb8f8120468003b5f29baecedf2367')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- # Fix fakeroot problem (FS#28644)
- patch -Np1 -i ../openmpi-1.5.4-fix-fakeroot-execution.patch
-
# Make sure we use the system ltdl librariry rather than the ones in the tarball
rm -r opal/libltdl
+ # Search for openmpi-default-hostfile in /etc/openmpi
+ sed -i "s|%s/etc/openmpi-default-hostfile|/etc/openmpi/openmpi-default-hostfile|" orte/runtime/orte_mca_params.c
+
./configure --prefix=/usr \
--sysconfdir=/etc/${pkgname} \
--mandir=/usr/share/man \