1 # Maintainer: Kniyl <mathias dot ettinger at gmail dot com>
6 pkgdesc="C++ library that implements work stealing algorithm for multithreaded computation (Git version)"
7 url="http://kaapi.gforge.inria.fr/dokuwiki/doku.php"
12 depends=('glibc' 'hwloc')
15 _gitroot='git://git.ligforge.imag.fr/git/kaapi/xkaapi.git'
19 msg "Connecting to git.ligforge.imag.fr GIT server...."
21 if [ -d ${_gitname} ] ; then
22 cd ${_gitname} && git pull origin
23 msg "The local files are updated."
25 git clone ${_gitroot} ${_gitname}
27 msg "GIT checkout done. Preparing sources..."
30 rm -rf ${_gitname}-build
31 cp -r ${_gitname} ${_gitname}-build
33 msg "Applying patches..."
34 sed -i 's| bool work_queue| inline bool work_queue|g' \
35 ${_gitname}-build/api/kastl/kastl/kastl_workqueue.h
38 msg "Starting make..."
43 --enable-mode=release \
44 --disable-api-kaapif \
46 --enable-api-kaapixx \
55 make DESTDIR="${pkgdir}" install
58 # vim: set ts=2 sw=2 ft=sh noet: