[arch-commits] Commit in openmpi/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Fri Sep 25 22:42:51 UTC 2020
Date: Friday, September 25, 2020 @ 22:42:50
Author: anthraxx
Revision: 396569
archrelease: copy trunk to extra-x86_64
Added:
openmpi/repos/extra-x86_64/PKGBUILD
(from rev 396568, openmpi/trunk/PKGBUILD)
Deleted:
openmpi/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 118 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-09-25 22:42:47 UTC (rev 396568)
+++ PKGBUILD 2020-09-25 22:42:50 UTC (rev 396569)
@@ -1,59 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Anatol Pomozov <anatol dot pomozov at gmail>
-# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
-
-pkgname=openmpi
-pkgver=4.0.4
-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=('47e24eb2223fe5d24438658958a313b6b7a55bb281563542e1afc9dec4a31ac4')
-sha512sums=('6c193b4b5cbfd9d48fa5efcef01372c424b51ae5e9727ccf4235e3b14556dfeb010865e41a9473419ccda16559139aa469086b1fff9abfd337e87387fdec1c64')
-
-build() {
- cd ${pkgname}-${pkgver}
- ./configure --prefix=/usr \
- --sysconfdir=/etc/${pkgname} \
- --enable-mpi-fortran=all \
- --libdir=/usr/lib/${pkgname} \
- --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 396568, openmpi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-09-25 22:42:50 UTC (rev 396569)
@@ -0,0 +1,59 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Anatol Pomozov <anatol dot pomozov at gmail>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+
+pkgname=openmpi
+pkgver=4.0.5
+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=('c58f3863b61d944231077f344fe6b4b8fbb83f3d1bc93ab74640bf3e5acac009')
+sha512sums=('b7a1a5ccfc0eaa0f0504ff770b550480f7ae6727fa891e3310d9340a0d844a2ceddf62c2e59efd047ab9416b24c829919bbccd29606ca0e0d7a0569dad800011')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc/${pkgname} \
+ --enable-mpi-fortran=all \
+ --libdir=/usr/lib/${pkgname} \
+ --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:
More information about the arch-commits
mailing list