Open SmartLayer opened 3 years ago
These are the steps on Ubuntu 20.04:
apt-get install ocl-icd-opencl1 ocl-icd-opencl-dev opencl-headers
cd ./profanity && make
chmod +x profanity.x64
./profanity.x64
or bash profanity.x64
if you're using an alternative shell.Funnily enough the executable throws errors when I invoke bash ./profanity.x64
from zsh, so I had to drop to bash
first.
In step 1 I got this (Yes I am on Ubuntu 20.04)
$ LANG=en sudo apt-get install ocl-icd-opencl1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ocl-icd-opencl1
After struggling for a while I got compilation working using
$ sudo apt install nvidia-opencl-dev ocl-icd-opencl-dev opencl-headers
But the resulting file doesn't work. See issue #51
On a Ubuntu set up, I can tell that opencl-c-headers are needed but not sure what other packages are required for compiling. Thanks.