1 # Maintainer: Ghislain Viguier <ghislain.viguier@gmail.com>
6 pkgdesc="Scalasca is a software tool that supports the performance optimization of parallel programs by measuring and analyzing their runtime behavior."
8 url="http://www.scalasca.org/start.html"
12 makedepends=('qt' 'binutils')
20 install=scalasca.install
22 source=(http://www2.fz-juelich.de/zam/datapool/scalasca/$pkgname-$pkgver.tar.gz)
24 md5sums=('b9addfdd209e52b204f7fadd5c76036d')
28 cd "$srcdir/$pkgname-$pkgver"
30 # type size_t is not defined. Needs #include<stdlib.h> in ./build/cube-3.0/src/tools/InfoObj.h :
31 /bin/sed -i '1i#include<stdlib.h>' $srcdir/$pkgname-$pkgver/cube-3.0/src/tools/InfoObj.h
32 ./configure --prefix=/usr --mpi=openmpi
33 cd build-linux-gomp-openmpi
38 cd "$srcdir/$pkgname-$pkgver"
42 cd "$srcdir/$pkgname-$pkgver/build-linux-gomp-openmpi"
43 make PREFIX=$pkgdir/usr install
44 # /usr/bin/opari is given by openmpi
45 rm $pkgdir/usr/bin/opari