summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3b8b90fc8024fcd16549d5042debc0fb83c2b792 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Vincenzo Maffione <v.maffione at gmail dot com>

pkgname=openucx
pkgver=1.15.0
pkgrel=1
pkgdesc="Unified Communication X (http://www.openucx.org)"
arch=('any')
url="http://www.openucx.org"
license=('BSD')
depends=('numactl' 'rdma-core')
makedepends=('git')
source=('git+https://github.com/openucx/ucx.git#tag=v1.15.0')
noextract=()
md5sums=('SKIP')

build() {
    cd $srcdir/ucx
    ./autogen.sh
    ./contrib/configure-release --prefix=/usr CFLAGS="-Wno-address-of-packed-member -O2"
    make
}

file_is_elf()
{
    local filename=$1
    ELF="1"
    readelf -h "$filename" > /dev/null 2>&1 || ELF="0"
    echo "$ELF"
}

package() {
    cd "$srcdir"/ucx
    make DESTDIR="$pkgdir/" install
}