blob: 3543f9bb4c833526b7471a3adff14c1e091f118c (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Maintainer: Holger Obermaier <holgerob[at]gmx[dot]de>
# Contributor: Steven Vancoillie <steven<dot>vancoillie[at]gmail[dot]com>
pkgname=likwid
pkgver=5.4.0
pkgrel=1
pkgdesc="Lightweight performance tools"
url="https://hpc.fau.de/research/tools/likwid/"
arch=('x86_64' 'i686')
license=('GPL3')
depends=()
makedepends=('git')
optdepends=(
'perl: for likwid-mpirun and likwid-perfscope'
'python: for /usr/share/likwid/filter/json'
'openmpi: for likwid-mpirun'
'gnuplot: for likwid-perfscope'
)
conflicts=()
source=("likwid::git+https://github.com/RRZE-HPC/likwid#tag=v${pkgver}")
sha256sums=("SKIP")
_prefix="/usr"
_mandir="${_prefix}/share/man"
_bindir="${_prefix}/bin"
_sbindir="${_bindir}" # /usr/sbin links to /usr/bin
_libdir="${_prefix}/lib"
build() {
cd "${srcdir}/likwid"
make -j "$(nproc)" \
PREFIX="${_prefix}" \
MANPREFIX="${_mandir}" \
BINPREFIX="${_bindir}" \
SBINPREFIX="${_sbindir}" \
LIBPREFIX="${_libdir}" \
INSTALLED_PREFIX="${_prefix}" \
INSTALLED_BINPREFIX="${_bindir}" \
INSTALLED_SBINPREFIX="${_sbindir}" \
INSTALLED_LIBPREFIX="${_libdir}"
}
package() {
cd "${srcdir}/likwid"
make install \
PREFIX="${pkgdir}/${_prefix}" \
MANPREFIX="${pkgdir}/${_mandir}" \
BINPREFIX="${pkgdir}/${_bindir}" \
SBINPREFIX="${pkgdir}/${_sbindir}" \
LIBPREFIX="${pkgdir}/${_libdir}" \
INSTALLED_PREFIX="${_prefix}" \
INSTALLED_BINPREFIX="${_bindir}" \
INSTALLED_SBINPREFIX="${_sbindir}" \
INSTALLED_LIBPREFIX="${_libdir}"
}
|