mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
added extra/libfabric
This commit is contained in:
parent
df52088904
commit
fe88f16c3b
3 changed files with 60 additions and 0 deletions
extra/libfabric
14
extra/libfabric/.SRCINFO
Normal file
14
extra/libfabric/.SRCINFO
Normal file
|
@ -0,0 +1,14 @@
|
|||
pkgbase = libfabric
|
||||
pkgdesc = User-space API for OpenFabrics Interfaces (OFI)
|
||||
pkgver = 2.0.0
|
||||
pkgrel = 1
|
||||
url = https://ofiwg.github.io/libfabric/
|
||||
arch = x86_64
|
||||
license = BSD-2-Clause OR GPL-2.0-or-later
|
||||
depends = glibc
|
||||
depends = numactl
|
||||
options = !lto
|
||||
source = https://github.com/ofiwg/libfabric/releases/download/v2.0.0/libfabric-2.0.0.tar.bz2
|
||||
sha512sums = 4d3067fde9d5063119618367234341dce0fe9c812bc4c761eac3d686590a19b6fa8ec857928a3dcd369bce043586e7147e97e6554206e3c34a80f93cbe094962
|
||||
|
||||
pkgname = libfabric
|
5
extra/libfabric/.nvchecker.toml
Normal file
5
extra/libfabric/.nvchecker.toml
Normal file
|
@ -0,0 +1,5 @@
|
|||
[libfabric]
|
||||
source = "git"
|
||||
git = "https://github.com/ofiwg/libfabric.git"
|
||||
prefix = "v"
|
||||
exclude_regex = ".*(pre|rc|alpha|beta).*"
|
41
extra/libfabric/PKGBUILD
Normal file
41
extra/libfabric/PKGBUILD
Normal file
|
@ -0,0 +1,41 @@
|
|||
# Maintainer: Bruno Pagani <archange@archlinux.org>
|
||||
# Maintainer: Jakub Klinkovský <lahwaacz at archlinux dot org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - build with -Wno-incompatible-pointer-types for v7
|
||||
|
||||
pkgname=libfabric
|
||||
pkgver=2.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="User-space API for OpenFabrics Interfaces (OFI)"
|
||||
arch=(x86_64)
|
||||
url="https://ofiwg.github.io/libfabric/"
|
||||
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)
|
||||
sha512sums=('4d3067fde9d5063119618367234341dce0fe9c812bc4c761eac3d686590a19b6fa8ec857928a3dcd369bce043586e7147e97e6554206e3c34a80f93cbe094962')
|
||||
|
||||
prepare() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
autoreconf -fvi
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
CFLAGS+=" -Wno-incompatible-pointer-types"
|
||||
./configure --prefix=/usr
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -vDm 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
|
||||
}
|
Loading…
Reference in a new issue