extra/openmpi: v5 fix

This commit is contained in:
Kevin Mihelich 2021-06-09 00:51:42 +00:00
parent b1aceb399a
commit bc4f2d26be

View file

@ -5,6 +5,7 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org
# - only use valgrind with v7/v8
# - remove make/optdepend on cude and configure option
# - explicitly link v5 with libatomic
pkgname=openmpi
pkgver=4.1.1
@ -28,6 +29,7 @@ build() {
# enable valgrind and memchecker for v7/v8
[[ $CARCH == "armv7h" || $CARCH == "aarch64" ]] && CONFIG='--with-valgrind --enable-memchecker'
[[ $CARCH == "arm" ]] && LDFLAGS+=" -Wl,--no-as-needed -latomic -Wl,--as-needed"
./configure \
--prefix=/usr \