blob: 48ef47a0d98bb4730b622fe7d4ba24bd63a5f61e (
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
|
# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com >
# Contributor: Julian Hornich <julianhornich@googlemail.com>
pkgname=kerncraft-git
pkgrel=2
pkgver=r1290
pkgdesc="Loop Kernel Analysis and Performance Modeling Toolkit"
arch=('any')
url="https://github.com/RRZE-HPC/kerncraft"
license=('GPLv3')
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=('iaca' 'gcc' 'python-matplotlib')
source=('git+https://github.com/RRZE-HPC/kerncraft.git')
sha256sums=('SKIP')
provides=('kerncraft')
conflicts=('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"
}
|