diff options
author | root <root@rshg054.dnsready.net> | 2012-05-05 00:01:14 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-05 00:01:14 +0000 |
commit | 5801c5acd80d30d17aaef76b8bc401c61b3ef3c9 (patch) | |
tree | eb041f2a83edee4a597678749b22181df9a32ecb /extra/openmpi | |
parent | b2c353d874b85e06f355a9419852e2616613c7d0 (diff) |
Sat May 5 00:01:14 UTC 2012
Diffstat (limited to 'extra/openmpi')
-rw-r--r-- | extra/openmpi/PKGBUILD | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/extra/openmpi/PKGBUILD b/extra/openmpi/PKGBUILD index c29af7221..5de207936 100644 --- a/extra/openmpi/PKGBUILD +++ b/extra/openmpi/PKGBUILD @@ -1,13 +1,13 @@ -# $Id: PKGBUILD 155500 2012-04-04 11:28:36Z stephane $ +# $Id: PKGBUILD 158183 2012-05-03 13:22:34Z stephane $ # Maintainer: Stéphane Gaudreault <stephane@archlinux.org> pkgname=openmpi pkgver=1.5.5 -pkgrel=2 +pkgrel=3 pkgdesc="High performance message passing library (MPI)" arch=('i686' 'x86_64') url="http://www.open-mpi.org" license=('custom') -depends=('gcc' 'gcc-fortran' 'openssh' 'valgrind' 'libtool' 'hwloc') +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 @@ -20,6 +20,9 @@ build() { # 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 ./configure --prefix=/usr \ --sysconfdir=/etc/${pkgname} \ @@ -34,7 +37,7 @@ build() { --enable-pretty-print-stacktrace \ --without-slurm \ --with-hwloc=/usr \ - --with-libltdl=/usr \ + --with-libltdl=/usr \ FC=/usr/bin/gfortran \ LDFLAGS="$LDFLAGS -Wl,-z,noexecstack" @@ -48,7 +51,7 @@ package() { # FS#28583 install -d -m 755 "${pkgdir}"/usr/lib/pkgconfig for i in ompi-c.pc ompi-cxx.pc ompi-f77.pc ompi-f90.pc ompi.pc; do - ln -sf /usr/lib/openmpi/pkgconfig/$i "${pkgdir}"/usr/lib/pkgconfig/ + ln -sf /usr/lib/openmpi/pkgconfig/${i} "${pkgdir}"/usr/lib/pkgconfig/ done # Openmpi's otfinfo conflicts with the one from texlive |