diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-07-11 14:16:08 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-07-11 14:16:08 -0300 |
commit | 20604a1579dcd51b5a46fc7d09cf4b1535219446 (patch) | |
tree | 2d5fd72b25008b56e2121bb35665ebeaebd50140 /extra/openmpi | |
parent | d84e7e621b059d11c483d6864cb1a549572d1821 (diff) | |
parent | 139460a7a8b085588b699c488fd19b166db18a74 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
core/logrotate/PKGBUILD
extra/hwloc/PKGBUILD
extra/kdeutils/PKGBUILD
extra/lapack/PKGBUILD
extra/openmpi/PKGBUILD
multilib/lib32-llvm/PKGBUILD
testing/mesa/PKGBUILD
testing/xorg-server/PKGBUILD
Diffstat (limited to 'extra/openmpi')
-rw-r--r-- | extra/openmpi/PKGBUILD | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/extra/openmpi/PKGBUILD b/extra/openmpi/PKGBUILD index 677f8cb56..1902551d5 100644 --- a/extra/openmpi/PKGBUILD +++ b/extra/openmpi/PKGBUILD @@ -1,13 +1,16 @@ -# $Id: PKGBUILD 121049 2011-04-28 16:03:46Z stephane $ +# $Id: PKGBUILD 130580 2011-07-07 13:38:27Z stephane $ # Maintainer: Stéphane Gaudreault <stephane@archlinux.org> pkgname=openmpi pkgver=1.5.3 -pkgrel=3 +pkgrel=4 pkgdesc="High performance message passing library (MPI)" arch=('i686' 'x86_64' 'mips64el') url="http://www.open-mpi.org" license=('custom') +depends=('gcc' 'gcc-fortran' 'openssh' 'valgrind' 'libtool' 'hwloc') +[ "$CARCH" = "mips64el" ] && \ depends=('gcc-fortran' 'openssh' 'libtool' 'hwloc') +makedepends=('net-tools') options=(!libtool) source=(http://www.open-mpi.org/software/ompi/v1.5/downloads/${pkgname}-${pkgver}.tar.bz2) sha1sums=('669565c708deab82ad4069d82675b2020eb0e0c6') @@ -15,6 +18,8 @@ sha1sums=('669565c708deab82ad4069d82675b2020eb0e0c6') build() { cd "${srcdir}/${pkgname}-${pkgver}" +# Disable valgrind + if [ "$CARCH" = "mips64el" ]; then ./configure --prefix=/usr \ --sysconfdir=/etc/${pkgname} \ --mandir=/usr/share/man \ @@ -32,6 +37,25 @@ build() { --with-libltdl=/usr \ FC=/usr/bin/gfortran \ LDFLAGS='-Wl,-z,noexecstack' + else + ./configure --prefix=/usr \ + --sysconfdir=/etc/${pkgname} \ + --mandir=/usr/share/man \ + --enable-mpi-f90 \ + --libdir=/usr/lib/${pkgname} \ + --with-threads=posix \ + --enable-mpi-threads \ + --enable-smp-locks \ + --with-valgrind \ + --enable-memchecker \ + --enable-debug \ + --enable-pretty-print-stacktrace \ + --without-slurm \ + --with-hwloc=external \ + --with-libltdl=/usr \ + FC=/usr/bin/gfortran \ + LDFLAGS='-Wl,-z,noexecstack' + fi make } |