openmpi: backport AVX improvements, make mca_op_avx work

Closes: #29049 [via git-merge-pr]
This commit is contained in:
Andrew J. Hesford 2021-02-25 09:24:17 -05:00
parent 581510a83f
commit f0fc355310
2 changed files with 1687 additions and 4 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,12 +1,11 @@
# Template file for 'openmpi' # Template file for 'openmpi'
pkgname=openmpi pkgname=openmpi
version=4.1.0 version=4.1.0
revision=2 revision=3
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-ipv6 --with-hwloc=${XBPS_CROSS_BASE}/usr" configure_args="--enable-ipv6 --with-hwloc=${XBPS_CROSS_BASE}/usr"
hostmakedepends="gcc-fortran libgomp-devel perl pkg-config" hostmakedepends="gcc-fortran libgomp-devel perl pkg-config automake libtool"
makedepends="libgfortran-devel libgomp-devel libhwloc-devel zlib-devel makedepends="libgfortran-devel libgomp-devel libhwloc-devel zlib-devel libevent-devel"
libevent-devel"
conf_files=" conf_files="
/etc/openmpi-default-hostfile /etc/openmpi-default-hostfile
/etc/openmpi-mca-params.conf /etc/openmpi-mca-params.conf
@ -26,6 +25,8 @@ post_extract() {
} }
pre_configure() { pre_configure() {
./autogen.pl --force
# used wrongly upstream? but nocross anyway # used wrongly upstream? but nocross anyway
export CFLAGS="$CFLAGS $LDFLAGS" export CFLAGS="$CFLAGS $LDFLAGS"
export CXXFLAGS="$CXXFLAGS $LDFLAGS" export CXXFLAGS="$CXXFLAGS $LDFLAGS"