4 pkgdesc="Python wrapper for Nvidia CUDA"
6 url="http://mathema.tician.de/software/pycuda"
7 license=('MIT/X Consortium')
8 depends=('boost' 'cuda-toolkit' 'python-numpy' 'pytools' 'nvidia-utils')
9 makedepends=('ctags' 'python-distribute')
13 _gitroot="http://git.tiker.net/trees/pycuda.git"
19 msg "Connecting to the GIT server...."
20 if [ -d "$_gitname" ]; then
21 cd $_gitname && git pull origin
22 msg2 "Local files updated"
27 msg2 "GIT checkout done or server timeout"
29 rm -rf $_gitname-build
30 cp -r $_gitname $_gitname-build
33 ./configure.py --boost-inc-dir=/usr/include/boost \
34 --boost-lib-dir=/usr/lib \
35 --boost-python-libname=boost_python-mt \
36 --boost-thread-libname=boost_thread-mt \
37 --cuda-root=/usr || return 1
41 python setup.py install --root=$startdir/pkg || return 1