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

View file

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