blob: c249e5c0cae775cc5196072d2616392c476a26a9 (
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
|
# Contributor: Julian Hornich <julianhornich@googlemail.com>
pkgname=kerncraft-git
pkgrel=2
pkgver=r1268
pkgdesc="Loop Kernel Analysis and Performance Modeling Toolkit"
arch=('i686' 'x86_64')
url="https://github.com/RRZE-HPC/kerncraft"
license=('GPLv3')
# iaca does currently not build from AUR. You might want to install it by hand and uncomment it here
depends=('python'
'python-yaml'
'python-pycachesim'
'python-sympy'
'python-pylru'
'python-numpy'
'python-pycparser'
'likwid'
'python-ruamel-yaml'
'python-compress-pickle'
'python-osaca'
'python-pyparsing'
'python-networkx'
'python-psutil')
makedepends=('git' 'python-setuptools')
optdepends=('intel-compiler-base' 'gcc' 'python-matplotlib')
source=('git+https://github.com/RRZE-HPC/kerncraft.git')
sha256sums=('SKIP')
provides=('kerncraft')
pkgver() {
cd ${srcdir}/kerncraft
echo "r"$(git rev-list --count master)
}
package() {
cd ${srcdir}/kerncraft
# install package
python setup.py install --root="${pkgdir}"
# examples
mkdir -p ${pkgdir}/usr/share/${pkgname}
cp -a ${srcdir}/kerncraft/examples ${pkgdir}/usr/share/${pkgname}/
chmod -R 655 ${pkgdir}/usr/share/${pkgname}
# license
install -Dm644 ${srcdir}/kerncraft/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|