openmpi: autoreconf to fix linking with libomp.a

Fixes https://github.com/termux/science-packages/issues/65.
This commit is contained in:
Henrik Grimler 2021-01-17 08:45:48 +01:00
parent c1d257f778
commit 3e5010bd33

View File

@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Open source Message Passing Interface implementation"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="Henrik Grimler @Grimler91"
TERMUX_PKG_VERSION=4.1.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://download.open-mpi.org/release/open-mpi/v${TERMUX_PKG_VERSION:0:3}/openmpi-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=228467c3dd15339d9b26cf26a291af3ee7c770699c5e8a1b3ad786f9ae78140a
TERMUX_PKG_DEPENDS="libandroid-shmem"
@ -25,4 +26,6 @@ termux_step_pre_configure () {
# fails with "undefined reference to __atomic..."
LDFLAGS+=" -latomic"
fi
./autogen.pl --force
}