blob: 0e068e3f9f7dfae854cfa251128786c9eed69bc4 (
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
|
# Maintainers: James Spencer <james.s.spencer@gmail.com>
# Darjan Krijan [https://disc-kuraudo.eu]
pkgname=scorep
pkgver=8.4
pkgrel=2
pkgdesc="Highly scalable and easy-to-use tool suite for profiling, event tracing, and online analysis of HPC applications."
arch=('i686' 'x86_64')
url="http://www.vi-hps.org/projects/score-p/"
license=('BSD')
depends=('cubew>=4.8.2' 'cubelib>=4.8.2' 'openmpi' 'otf2>=3.0.3' 'opari2>=2.0.8')
options=('staticlibs')
source=(
http://perftools.pages.jsc.fz-juelich.de/cicd/${pkgname}/tags/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz
scorep-update-fake-gmp-header.patch
)
sha256sums=(
'7bbde9a0721d27cc6205baf13c1626833bcfbabb1f33b325a2d67976290f7f8a'
'36601285a46cafc35f3f821e884e1936e72442b084338d6d068308ff07d9d188'
)
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 < ${srcdir}/scorep-update-fake-gmp-header.patch
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
local _configure_flags=(
--prefix=/usr
--with-mpi=openmpi
--with-shmem=openmpi
--enable-gcc-plugin
--enable-shared
)
./configure "${_configure_flags[@]}"
make
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
# -j1 for some Fortran module dependency issue
make -j1 --keep-going check |& tee -a make_check.log || true
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}/" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
|