* update libfabric to 2.0.0-1

This commit is contained in:
Alexander Baldeck 2025-01-13 20:40:50 +01:00
parent cf2ea5522a
commit 6fd11d3379
3 changed files with 19 additions and 13 deletions

View File

@ -1,7 +1,7 @@
pkgbase = libfabric
pkgdesc = User-space API for OpenFabrics Interfaces (OFI)
pkgver = 1.22.0
pkgrel = 2
pkgver = 2.0.0
pkgrel = 1
url = https://ofiwg.github.io/libfabric/
arch = x86_64
arch = powerpc64le
@ -12,9 +12,9 @@ pkgbase = libfabric
depends = glibc
depends = numactl
options = !lto
source = https://github.com/ofiwg/libfabric/releases/download/v1.22.0/libfabric-1.22.0.tar.bz2
source = libfabric-riscv-page-size.patch::https://github.com/ofiwg/libfabric/pull/10308.diff
sha512sums = 02fe0713ab96288addef8777b0912f3db200720b42bb6976c8c6796c08de8e1a54bfb7b44d98c334c5184e24ffcf35eab40323e43a605d699630e5eee53548f8
sha512sums = fd5bac99c0125ea048019a1191ed7fad033b026ea34d008b6042f005d655f8a89d2e4b71b359eebf9e40ab9c9a2f15442a927fa966ae3ae5c1a62d42392c052f
source = https://github.com/ofiwg/libfabric/releases/download/v2.0.0/libfabric-2.0.0.tar.bz2
source = fix-page-mask.patch::https://github.com/Cryolitia-Forks/libfabric/commit/f6fb959e1f1efa350962fe4ae444c33fc91e2451.patch
sha512sums = 4d3067fde9d5063119618367234341dce0fe9c812bc4c761eac3d686590a19b6fa8ec857928a3dcd369bce043586e7147e97e6554206e3c34a80f93cbe094962
sha512sums = 6e803c4155fd0adfb2e4d20ad7090bb8c9f2045cd78597f074c7662f43e5ad20ec408d9647ffe472da85cda23fcf8fdd67ea6709c17fa25790d46f70435e24f4
pkgname = libfabric

View File

@ -0,0 +1,5 @@
[libfabric]
source = "git"
git = "https://github.com/ofiwg/libfabric.git"
prefix = "v"
exclude_regex = ".*(pre|rc|alpha|beta).*"

View File

@ -1,9 +1,10 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Bruno Pagani <archange@archlinux.org>
# Maintainer: Jakub Klinkovský <lahwaacz at archlinux dot org>
pkgname=libfabric
pkgver=1.22.0
pkgrel=2
pkgver=2.0.0
pkgrel=1
pkgdesc="User-space API for OpenFabrics Interfaces (OFI)"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url="https://ofiwg.github.io/libfabric/"
@ -11,13 +12,13 @@ license=('BSD-2-Clause OR GPL-2.0-or-later')
depends=(glibc numactl)
options=(!lto)
source=(https://github.com/ofiwg/libfabric/releases/download/v${pkgver}/libfabric-${pkgver}.tar.bz2
${pkgname}-riscv-page-size.patch::https://github.com/ofiwg/libfabric/pull/10308.diff)
sha512sums=('02fe0713ab96288addef8777b0912f3db200720b42bb6976c8c6796c08de8e1a54bfb7b44d98c334c5184e24ffcf35eab40323e43a605d699630e5eee53548f8'
'fd5bac99c0125ea048019a1191ed7fad033b026ea34d008b6042f005d655f8a89d2e4b71b359eebf9e40ab9c9a2f15442a927fa966ae3ae5c1a62d42392c052f')
fix-page-mask.patch::https://github.com/Cryolitia-Forks/libfabric/commit/f6fb959e1f1efa350962fe4ae444c33fc91e2451.patch)
sha512sums=('4d3067fde9d5063119618367234341dce0fe9c812bc4c761eac3d686590a19b6fa8ec857928a3dcd369bce043586e7147e97e6554206e3c34a80f93cbe094962'
'6e803c4155fd0adfb2e4d20ad7090bb8c9f2045cd78597f074c7662f43e5ad20ec408d9647ffe472da85cda23fcf8fdd67ea6709c17fa25790d46f70435e24f4')
prepare() {
cd ${pkgname}-${pkgver}
patch -Np1 -i ${srcdir}/${pkgname}-riscv-page-size.patch
patch -Np1 -i ../fix-page-mask.patch
autoreconf -fvi
}
@ -25,7 +26,7 @@ build() {
cd ${pkgname}-${pkgver}
case "${CARCH}" in
powerpc) CFLAGS+=' -latomic -Wno-incompatible-pointer-types' ;;
powerpc) export CFLAGS+=' -Wno-incompatible-pointer-types -latomic' ;;
esac
./configure --prefix=/usr