mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/openmpi to 4.0.5-3
This commit is contained in:
parent
21a2334416
commit
168dfa4033
1 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue