Pyrit icon indicating copy to clipboard operation
Pyrit copied to clipboard

Building 'cpyrit_cuda' fails on Arch

Open Vortelf opened this issue 8 years ago • 1 comments

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.

Vortelf avatar Dec 04 '17 00:12 Vortelf

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

}

vendforce avatar Jan 21 '18 00:01 vendforce