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 # 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 # - remove make/optdepend on cude and configure option
# - explicitly link v5 with libatomic
pkgname=openmpi pkgname=openmpi
pkgver=4.1.1 pkgver=4.1.1
@ -28,6 +29,7 @@ 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'
[[ $CARCH == "arm" ]] && LDFLAGS+=" -Wl,--no-as-needed -latomic -Wl,--as-needed"
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \