I made a PKGBUILD for Bitcoind with CUDA support thanks to eurekafag's makefile (although I had to adapt it a lot because Arch deals with CUDA very differently), and of course nelisky's patch.
The PKGBUILD is there :
http://aur.archlinux.org/packages.php?ID=41392It basically installs CUDA (it will take a very long time), fetches revision 155 of bitcoin, compiles the daemon and installs it.
However, the latest version of CUDA requires very recent Nvidia drivers, so you will have to install them first using this PKGBUILD (it installs both nvidia and nvidia-utils at the same time) :
http://fichiers.schnouki.net/archlinux/cuda/nvidia-260.24-1.src.tar.gzThese drivers won't work with xorg-server 1.9 so don't upgrade yet and keep 1.8 installed ! Once you installed the new driver, reboot to load the new kernel modules.
When everything is installed, starting and stopping bitcoind is as simple as this :
/etc/rc.d/bitcoind-cuda start
/etc/rc.d/bitcoind-cuda stop
You can add it to your DAEMONS array in /etc/rc.conf for absolute convenience.
The daemons runs as a separate user (bitcoin, with uid and gid 8333), so to interact with it, use sudo and set the datadir too, for example :
sudo bitcoind-cuda -datadir=/opt/bitcoin-daemon-cuda getinfo
You can alias it obviously, it will save you a lot of typing.
And, last but not least, here is a little screenshot to show it's working. I get approximately 10k hashes per second with a GeForce 8800 GTS.
http://uppix.net/7/c/4/f14f8776c6625dfdade8185a8c526.pngAs far as I know, maintaining this should be fairly easy if nelisky maintains his patch of course.
Any donations accepted to 14hSU3uAaXHQkomxRym5ALfAeKuZEdrjyL.