Date: Wednesday, May 9, 2018 @ 00:26:00 Author: anthraxx Revision: 323561
archrelease: copy trunk to extra-x86_64 Added: openmpi/repos/extra-x86_64/PKGBUILD (from rev 323560, openmpi/trunk/PKGBUILD) Deleted: openmpi/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 124 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 62 insertions(+), 62 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-05-09 00:25:51 UTC (rev 323560) +++ PKGBUILD 2018-05-09 00:26:00 UTC (rev 323561) @@ -1,62 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Anatol Pomozov <anatol dot pomozov at gmail> -# Contributor: Stéphane Gaudreault <steph...@archlinux.org> - -pkgname=openmpi -pkgver=3.0.1 -pkgrel=2 -pkgdesc='High performance message passing library (MPI)' -url='https://www.open-mpi.org' -arch=('x86_64') -license=('custom:OpenMPI') -depends=('libltdl' 'hwloc' 'openssh' 'zlib') -makedepends=('inetutils' 'valgrind' 'gcc-fortran') -optdepends=('gcc-fortran: fortran support') -options=('staticlibs') -source=(https://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2) -sha256sums=('663450d1ee7838b03644507e8a76edfb1fba23e601e9e0b5b2a738e54acd785d') -sha512sums=('15fad504ba743d564e7196b62a112027798d4b26e9c8d11d9c1c00ac2968f1858ebc168df30473104c5a31f71e38ab558204b598260b535a12b6094aa77182b8') - -build() { - cd ${pkgname}-${pkgver} - ./configure --prefix=/usr \ - --sysconfdir=/etc/${pkgname} \ - --enable-mpi-fortran=all \ - --libdir=/usr/lib/${pkgname} \ - --with-threads=posix \ - --enable-mpi-thread-multiple \ - --enable-smp-locks \ - --enable-builtin-atomics \ - --enable-mpi-cxx \ - --with-valgrind \ - --enable-memchecker \ - --enable-pretty-print-stacktrace \ - --without-slurm \ - --with-hwloc=/usr \ - --with-libltdl=/usr \ - FC=/usr/bin/gfortran \ - LDFLAGS="${LDFLAGS} -Wl,-z,noexecstack" - make -} - -check() { - cd ${pkgname}-${pkgver} - make check -} - -package() { - cd ${pkgname}-${pkgver} - make DESTDIR="${pkgdir}" install - - # FS#28583 - install -dm 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/" - done - - install -dm 755 "${pkgdir}/etc/ld.so.conf.d" - echo "/usr/lib/${pkgname}" > "${pkgdir}"/etc/ld.so.conf.d/${pkgname}.conf - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" -} - -# vim: ts=2 sw=2 et: Copied: openmpi/repos/extra-x86_64/PKGBUILD (from rev 323560, openmpi/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-05-09 00:26:00 UTC (rev 323561) @@ -0,0 +1,62 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Anatol Pomozov <anatol dot pomozov at gmail> +# Contributor: Stéphane Gaudreault <steph...@archlinux.org> + +pkgname=openmpi +pkgver=3.1.0 +pkgrel=1 +pkgdesc='High performance message passing library (MPI)' +url='https://www.open-mpi.org' +arch=('x86_64') +license=('custom:OpenMPI') +depends=('libltdl' 'hwloc' 'openssh' 'zlib' 'libnl') +makedepends=('inetutils' 'valgrind' 'gcc-fortran') +optdepends=('gcc-fortran: fortran support') +options=('staticlibs') +source=(https://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('b25c044124cc859c0b4e6e825574f9439a51683af1950f6acda1951f5ccdf06c') +sha512sums=('23a43a16683c4b56f96c711fe009d992f3bd4e10cf9ef55091865a5b1aed195cc1de6a87720564f70d3b60a2441966bab39cda8969293aeb118cda10aead3dee') + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr \ + --sysconfdir=/etc/${pkgname} \ + --enable-mpi-fortran=all \ + --libdir=/usr/lib/${pkgname} \ + --with-threads=posix \ + --enable-mpi-thread-multiple \ + --enable-smp-locks \ + --enable-builtin-atomics \ + --enable-mpi-cxx \ + --with-valgrind \ + --enable-memchecker \ + --enable-pretty-print-stacktrace \ + --without-slurm \ + --with-hwloc=/usr \ + --with-libltdl=/usr \ + FC=/usr/bin/gfortran \ + LDFLAGS="${LDFLAGS} -Wl,-z,noexecstack" + make +} + +check() { + cd ${pkgname}-${pkgver} + make check +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + + # FS#28583 + install -dm 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/" + done + + install -dm 755 "${pkgdir}/etc/ld.so.conf.d" + echo "/usr/lib/${pkgname}" > "${pkgdir}"/etc/ld.so.conf.d/${pkgname}.conf + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} + +# vim: ts=2 sw=2 et: