openmpi: backport AVX improvements, make mca_op_avx work
Closes: #29049 [via git-merge-pr]
This commit is contained in:
parent
581510a83f
commit
f0fc355310
2 changed files with 1687 additions and 4 deletions
1682
srcpkgs/openmpi/patches/avx.patch
Normal file
1682
srcpkgs/openmpi/patches/avx.patch
Normal file
File diff suppressed because it is too large
Load diff
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue