With Cuda 8
Assuming you've already installed cuda 8 in /opt/cuda also install
gcc5 from the aur and create the following symlinks, so CUDA will use the old compiler:
# ln -s /usr/bin/gcc-5 /opt/cuda/bin/gcc
# ln -s /usr/bin/g++-5 /opt/cuda/bin/g++
After that set gcc5 as your default compiler with:
# export CC=/usr/bin/gcc-5
# export CXX=/usr/bin/g++-5
# export CXXCPP=/usr/bin/cpp-5
Than install blender from source using yaourt with the following command:
# yaourt -Sb blender
When it asks if you want to edit PKGBUILD edit it and comment the line with BUILDCUDA="OFF" so it looks something like this.
# BUILDCUDA="OFF" # Disabled due to gcc 6.1 not being supported by cuda as of right now
After that compiling and installing should work.
With Cuda 7.5