mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
extra/openmpi: v8 update
This commit is contained in:
parent
a9f271a243
commit
59e27c42a0
1 changed files with 3 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org
|
||||
# - only use valgrind with v7
|
||||
# - only use valgrind with v7/v8
|
||||
|
||||
pkgname=openmpi
|
||||
pkgver=1.10.0
|
||||
|
@ -15,6 +15,7 @@ license=(custom)
|
|||
depends=(libltdl hwloc)
|
||||
makedepends=(inetutils gcc-fortran)
|
||||
makedepends_armv7h=(valgrind)
|
||||
makedepends_aarch64=(valgrind)
|
||||
optdepends=('gcc-fortran: fortran support')
|
||||
options=(staticlibs)
|
||||
source=(http://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/${pkgname}-${pkgver}.tar.bz2)
|
||||
|
@ -24,7 +25,7 @@ build() {
|
|||
cd $pkgname-$pkgver
|
||||
|
||||
# enable valgrind and memchecker for v7
|
||||
[[ $CARCH = armv7h ]] && CONFIG='--with-valgrind --enable-memchecker'
|
||||
[[ $CARCH == "armv7h" || $CARCH == "aarch64" ]] && CONFIG='--with-valgrind --enable-memchecker'
|
||||
|
||||
./autogen.pl
|
||||
./configure --prefix=/usr \
|
||||
|
|
Loading…
Reference in a new issue