extra/openmpi to 4.0.5-3

This commit is contained in:
Kevin Mihelich 2021-03-21 17:16:27 +00:00
parent 21a2334416
commit 168dfa4033

View file

@ -4,15 +4,16 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org
# - only use valgrind with v7/v8
# - remove make/optdepend on cude and configure option
pkgname=openmpi
pkgver=4.0.5
pkgrel=2
pkgrel=3
pkgdesc='High performance message passing library (MPI)'
url='https://www.open-mpi.org'
arch=('x86_64')
license=('custom:OpenMPI')
depends=('glibc' 'libltdl' 'hwloc' 'openssh' 'zlib' 'libnl' 'perl')
depends=('glibc' 'libltdl' 'hwloc' 'openssh' 'zlib' 'libnl' 'perl' 'libevent')
makedepends=('inetutils' 'gcc-fortran')
makedepends_armv7h=('valgrind')
makedepends_aarch64=('valgrind')
@ -28,7 +29,8 @@ build() {
# enable valgrind and memchecker for v7/v8
[[ $CARCH == "armv7h" || $CARCH == "aarch64" ]] && CONFIG='--with-valgrind --enable-memchecker'
./configure --prefix=/usr \
./configure \
--prefix=/usr \
--sysconfdir=/etc/${pkgname} \
--enable-mpi-fortran=all \
--libdir=/usr/lib/${pkgname} \
@ -38,6 +40,7 @@ build() {
--without-slurm \
--with-hwloc=/usr \
--with-libltdl=/usr \
--with-libevent=/usr \
FC=/usr/bin/gfortran \
LDFLAGS="${LDFLAGS} -Wl,-z,noexecstack" \
$CONFIG