mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/openmpi: v5 fix
This commit is contained in:
parent
b1aceb399a
commit
bc4f2d26be
1 changed files with 2 additions and 0 deletions
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue