use cmake directly instead of python setup tools for dlib

merge-requests/21/head
Moe 2018-08-27 21:05:44 -07:00
parent 0eaa16b19b
commit d677f0e7d0
1 changed files with 3 additions and 1 deletions

View File

@ -59,6 +59,8 @@ echo "Installing Dlib..."
cd /opt
git clone https://github.com/davisking/dlib.git dlib
cd dlib
python3 setup.py install --yes DLIB_USE_CUDA
cmake -DCUDA_CUDART_LIBRARY=/usr/local/cuda/lib64/libcudart.so
make install
pip3 install dlib
echo "Start the plugin with pm2 like so :"
echo "pm2 start shinobi-python-dlib.js"