[arch-commits] Commit in openmpi/trunk (PKGBUILD)

Stéphane Gaudreault stephane at archlinux.org
Tue Mar 15 01:36:22 UTC 2011


    Date: Monday, March 14, 2011 @ 21:36:21
  Author: stephane
Revision: 114644

version bump, depends on hwloc

Modified:
  openmpi/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-03-15 00:35:39 UTC (rev 114643)
+++ PKGBUILD	2011-03-15 01:36:21 UTC (rev 114644)
@@ -1,16 +1,16 @@
 # $Id$
 # Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
 pkgname=openmpi
-pkgver=1.5.1
+pkgver=1.5.2
 pkgrel=1
 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')
+depends=('gcc' 'gcc-fortran' 'openssh' 'valgrind' 'libtool' 'hwloc')
 options=(!libtool)
 source=(http://www.open-mpi.org/software/ompi/v1.5/downloads/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('fe21acc211fe60e30dc6bef1c83a70c34e093998')
+sha1sums=('a09361c5b2abe46c58641205ff93d7a19fa458f7')
 
 build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
@@ -26,6 +26,7 @@
                --with-valgrind \
                --enable-pretty-print-stacktrace \
                --without-slurm \
+               --with-hwloc=external \
                --with-libltdl=/usr \
                FC=/usr/bin/gfortran \
                LDFLAGS='-Wl,-z,noexecstack'
@@ -38,16 +39,16 @@
    make DESTDIR="${pkgdir}" install
 
    # Openmpi's otfinfo conflicts with the one from texlive
-   mv ${pkgdir}/usr/bin/otfinfo ${pkgdir}/usr/bin/otfinfompi
+   mv "${pkgdir}"/usr/bin/otfinfo "${pkgdir}"/usr/bin/otfinfompi
 
    # Openmpi's otfdump conflicts with the one from libotf
-   mv ${pkgdir}/usr/bin/otfdump ${pkgdir}/usr/bin/otfdumpompi
+   mv "${pkgdir}"/usr/bin/otfdump "${pkgdir}"/usr/bin/otfdumpompi
 
    # Symlink points to non-existing ortec++.1
-   rm ${pkgdir}/usr/share/man/man1/orteCC.1
+   rm "${pkgdir}"/usr/share/man/man1/orteCC.1
 
-   install -d -m 755 ${pkgdir}/etc/ld.so.conf.d
-   echo "/usr/lib/${pkgname}" > ${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf
+   install -d -m 755 "${pkgdir}"/etc/ld.so.conf.d
+   echo "/usr/lib/${pkgname}" > "${pkgdir}"/etc/ld.so.conf.d/${pkgname}.conf
 
-   install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+   install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 }




More information about the arch-commits mailing list