mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-27 00:10:29 +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
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org
|
||||||
# - only use valgrind with v7/v8
|
# - only use valgrind with v7/v8
|
||||||
|
# - remove make/optdepend on cude and configure option
|
||||||
|
|
||||||
pkgname=openmpi
|
pkgname=openmpi
|
||||||
pkgver=4.0.5
|
pkgver=4.0.5
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc='High performance message passing library (MPI)'
|
pkgdesc='High performance message passing library (MPI)'
|
||||||
url='https://www.open-mpi.org'
|
url='https://www.open-mpi.org'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
license=('custom:OpenMPI')
|
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=('inetutils' 'gcc-fortran')
|
||||||
makedepends_armv7h=('valgrind')
|
makedepends_armv7h=('valgrind')
|
||||||
makedepends_aarch64=('valgrind')
|
makedepends_aarch64=('valgrind')
|
||||||
|
@ -28,7 +29,8 @@ build() {
|
||||||
# enable valgrind and memchecker for v7/v8
|
# enable valgrind and memchecker for v7/v8
|
||||||
[[ $CARCH == "armv7h" || $CARCH == "aarch64" ]] && CONFIG='--with-valgrind --enable-memchecker'
|
[[ $CARCH == "armv7h" || $CARCH == "aarch64" ]] && CONFIG='--with-valgrind --enable-memchecker'
|
||||||
|
|
||||||
./configure --prefix=/usr \
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc/${pkgname} \
|
--sysconfdir=/etc/${pkgname} \
|
||||||
--enable-mpi-fortran=all \
|
--enable-mpi-fortran=all \
|
||||||
--libdir=/usr/lib/${pkgname} \
|
--libdir=/usr/lib/${pkgname} \
|
||||||
|
@ -38,6 +40,7 @@ build() {
|
||||||
--without-slurm \
|
--without-slurm \
|
||||||
--with-hwloc=/usr \
|
--with-hwloc=/usr \
|
||||||
--with-libltdl=/usr \
|
--with-libltdl=/usr \
|
||||||
|
--with-libevent=/usr \
|
||||||
FC=/usr/bin/gfortran \
|
FC=/usr/bin/gfortran \
|
||||||
LDFLAGS="${LDFLAGS} -Wl,-z,noexecstack" \
|
LDFLAGS="${LDFLAGS} -Wl,-z,noexecstack" \
|
||||||
$CONFIG
|
$CONFIG
|
||||||
|
|
Loading…
Reference in a new issue