extra/openmpi to 5.0.2-2

This commit is contained in:
Kevin Mihelich 2024-02-12 13:58:08 +00:00
parent d1d97fb463
commit 562158c8ed
2 changed files with 18 additions and 11 deletions

View file

@ -1,6 +1,6 @@
pkgbase = openmpi pkgbase = openmpi
pkgdesc = High performance message passing library (MPI) pkgdesc = High performance message passing library (MPI)
pkgver = 5.0.1 pkgver = 5.0.2
pkgrel = 2 pkgrel = 2
url = https://www.open-mpi.org url = https://www.open-mpi.org
arch = x86_64 arch = x86_64
@ -9,31 +9,35 @@ pkgbase = openmpi
makedepends = gcc-fortran makedepends = gcc-fortran
makedepends = gcc-libs makedepends = gcc-libs
makedepends = glibc makedepends = glibc
makedepends = hip-runtime-amd
makedepends = hwloc makedepends = hwloc
makedepends = libevent makedepends = libevent
makedepends = libfabric
makedepends = libnl makedepends = libnl
makedepends = openpmix makedepends = openpmix
makedepends = libpmix.so
makedepends = openssh makedepends = openssh
makedepends = prrte makedepends = prrte
makedepends = valgrind makedepends = valgrind
makedepends = zlib makedepends = zlib
source = https://www.open-mpi.org/software/ompi/v5.0/downloads/openmpi-5.0.1.tar.bz2 source = https://www.open-mpi.org/software/ompi/v5.0/downloads/openmpi-5.0.2.tar.bz2
sha256sums = e357043e65fd1b956a47d0dae6156a90cf0e378df759364936c1781f1a25ef80 sha256sums = ee46ad8eeee2c3ff70772160bff877cbf38c330a0bc3b3ddc811648b3396698f
b2sums = 4a5b1d6c1cb2c81186f1d1347aee2e78b8634e0db08053a99a10d54df31d2afa5982d64b49a351aea99fc9db64f8ab81adeab9ae427442892774f99de3602230 b2sums = ea7a584ab945c8b2fcdd8a3c2510205582606442efaad2058b321ad4c787b2f66f79e86aa4b8b094eba9508fa208f40a4a843b9938d93899eee1948d0299b7b8
pkgname = openmpi pkgname = openmpi
depends = gcc-libs depends = gcc-libs
depends = glibc depends = glibc
depends = hwloc depends = hwloc
depends = libevent depends = libevent
depends = libfabric
depends = libnl depends = libnl
depends = openpmix depends = openpmix
depends = libpmix.so depends = libpmix.so
depends = openssh depends = openssh
depends = prrte depends = prrte
depends = libprrte.so
depends = zlib depends = zlib
optdepends = cuda: cuda support optdepends = cuda: cuda support
optdepends = hip-runtime-amd: ROCm support
optdepends = gcc-fortran: fortran support optdepends = gcc-fortran: fortran support
provides = libmpi.so provides = libmpi.so
provides = libmpi_mpifh.so provides = libmpi_mpifh.so

View file

@ -5,6 +5,7 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org # ALARM: Kevin Mihelich <kevin@archlinuxarm.org
# - remove make/optdepend on cuda and configure option # - remove make/optdepend on cuda and configure option
# - remove make/optdepend on hip-runtime-amd and rocm configure option
# - build for v8 only, 32-bit support dropped in version 5 # - build for v8 only, 32-bit support dropped in version 5
buildarch=8 buildarch=8
@ -14,7 +15,7 @@ pkgname=(
openmpi openmpi
openmpi-docs openmpi-docs
) )
pkgver=5.0.1 pkgver=5.0.2
pkgrel=2 pkgrel=2
pkgdesc='High performance message passing library (MPI)' pkgdesc='High performance message passing library (MPI)'
arch=(x86_64) arch=(x86_64)
@ -26,8 +27,9 @@ makedepends=(
glibc glibc
hwloc hwloc
libevent libevent
libfabric
libnl libnl
openpmix libpmix.so openpmix
openssh openssh
prrte prrte
valgrind valgrind
@ -35,8 +37,8 @@ makedepends=(
) )
source=( source=(
https://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/$pkgbase-$pkgver.tar.bz2) https://www.open-mpi.org/software/ompi/v${pkgver%.*}/downloads/$pkgbase-$pkgver.tar.bz2)
sha256sums=('e357043e65fd1b956a47d0dae6156a90cf0e378df759364936c1781f1a25ef80') sha256sums=('ee46ad8eeee2c3ff70772160bff877cbf38c330a0bc3b3ddc811648b3396698f')
b2sums=('4a5b1d6c1cb2c81186f1d1347aee2e78b8634e0db08053a99a10d54df31d2afa5982d64b49a351aea99fc9db64f8ab81adeab9ae427442892774f99de3602230') b2sums=('ea7a584ab945c8b2fcdd8a3c2510205582606442efaad2058b321ad4c787b2f66f79e86aa4b8b094eba9508fa208f40a4a843b9938d93899eee1948d0299b7b8')
_pick() { _pick() {
local p="$1" f d; shift local p="$1" f d; shift
@ -95,10 +97,11 @@ package_openmpi() {
glibc glibc
hwloc hwloc
libevent libevent
libfabric
libnl libnl
openpmix libpmix.so openpmix libpmix.so
openssh openssh
prrte prrte libprrte.so
zlib zlib
) )
optdepends=( optdepends=(
@ -123,7 +126,7 @@ package_openmpi() {
package_openmpi-docs() { package_openmpi-docs() {
pkgdesc+=" - documentation" pkgdesc+=" - documentation"
mv -v $pkgname/* "$pkgdir/" mv -v $pkgname/* "$pkgdir"
install -vDm 644 $pkgbase-$pkgver/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" install -vDm 644 $pkgbase-$pkgver/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
} }