1 # Maintainer: Kniyl <mathias dot ettinger at gmail dot com>
6 pkgdesc="C++ library that implements work stealing algorithm for multithreaded computation"
7 url="http://kaapi.gforge.inria.fr/dokuwiki/doku.php"
10 depends=('glibc' 'hwloc')
11 source=('https://gforge.inria.fr/frs/download.php/30006/xkaapi-1.0.0.tar.gz')
12 md5sums=('1161d13a6e7becca1803c8ee3abb06dd')
16 rm -rf ${pkgname}-build
17 cp -r ${pkgname}-${pkgver//_/-} ${pkgname}-build
19 msg "Applying patches..."
20 sed -i 's| bool work_queue| inline bool work_queue|g' \
21 ${pkgname}-build/api/kastl/kastl/kastl_workqueue.h
25 msg "Starting make..."
28 --enable-mode=release \
29 --disable-api-kaapif \
31 --enable-api-kaapixx \
40 make DESTDIR="${pkgdir}" install