Building 'cpyrit_cuda' fails on Arch
Tried to build cpyrit-cuda-git from AUR and it failed because of mismatching version of clang.
Current CUDA version is 9.0.176. After some searching I found this mailing list. The person @ Message#50 explains that CUDA 9.0 is not compatible with some compilers. After reading the I used g++-6 and compiled it without any problem. Tested it with pyrit, and the lib works.
Edit: The error I received at first was:
nvcc fatal : The version ('50000') of the host compiler ('clang') is not supported
Adding this so people could get a google result if they experience the same.
removing "-ccbin clang" will also make it work
change the build in the PKGBUILD FILE
build() { cd Pyrit/modules/cpyrit_cuda
sed "s|' --host-compilation C'||" -i setup.py
sed "s|-ccbin clang||" -i setup.py
python2 setup.py build
}